Repository navigation
LCORE-4070: raise a model error when OGX reports a streamed request as failed #9066
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: Unit tests | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| unit_tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Python version | |
| run: uv run python --version | |
| - name: uv version | |
| run: uv --version | |
| - name: Install dependencies | |
| run: uv pip install --python ${{ matrix.python-version }} --group ogxlibdev . | |
| - name: Install pdm # Required for dynamic version test | |
| run: uv pip install pdm | |
| - name: Run unit tests | |
| run: uv run pytest tests/unit --cov=src --cov=runner --cov-report term-missing |