feature/red teaming #699
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Create venv | |
| run: uv venv | |
| - name: Install rogue server with local sdk | |
| run: | | |
| source .venv/bin/activate | |
| uv sync --dev | |
| uv pip install -e . | |
| uv pip uninstall rogue-ai-sdk | |
| uv pip install -e sdks/python --force-reinstall | |
| - name: Run tests | |
| uses: ./.github/actions/run-tests | |
| with: | |
| python-version: ${{ matrix.python-version }} |