arms 0.0.3

🧬 The adaptive model routing system for exploration and exploitation.
Documentation
name: CI Test

on:
  pull_request:
    types:
      - opened
      - synchronize

jobs:
  test-rust-core:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Set up Rust
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          override: true

      - name: Run tests
        run: make test

  test-python-binding:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.12"

      - name: Install uv
        run: pip install uv

      - name: Install dependencies
        working-directory: bindings/python
        run: source start.sh

      - name: Run tests
        working-directory: bindings/python
        run: make test

      - name: Install docker-compose
        run: |
          sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
          sudo chmod +x /usr/local/bin/docker-compose
          docker-compose --version

      - name: Run integration tests
        working-directory: bindings/python
        run: |
          make test-integration