fix(rhaiis/guidellm): populate turns/prefix_tokens/prefix_count/request_type in dashboard CSV #1584
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
| # Unit tests for projects/core/dsl (task decorators, execute_tasks, failure/always/skip) | |
| # and projects/core/toolbox (unified toolbox script). | |
| name: Toolbox DSL and Core tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| env: | |
| PYTHONPATH: ${{ github.workspace }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install test dependencies | |
| run: | | |
| set -o errexit | |
| python -m pip install --upgrade pip | |
| python -m pip install -e .[testing] | |
| - name: Run pytest suites | |
| run: | | |
| set -o errexit | |
| # Tree + docstrings (what is being tested), then execute with one line per test + result. | |
| # This runs both DSL tests (test_dsl_*.py) and toolbox tests (test_run_toolbox*.py) | |
| python -m pytest --collect-only -vv -o addopts='-ra --strict-markers --strict-config' | |
| echo "" | |
| python -m pytest -vv -o addopts='-ra --strict-markers --strict-config' |