fix(docker): ensure uv-installed dependencies are accessible to user cms #92
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: build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.8', '3.9', '3.10', '3.11' ] | |
| max-parallel: 4 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set Python to ${{ matrix.python-version }} | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.7.20" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| uv sync --group dev --group docs --group vllm | |
| - name: Check types | |
| run: | | |
| uv run mypy app | |
| - name: Lint | |
| run: | | |
| uv run ruff check | |
| - name: Run unit tests | |
| run: | | |
| uv run pytest -v tests/app --cov --cov-report=html:coverage_reports #--random-order | |
| - name: Run integration tests | |
| run: | | |
| uv run pytest -s -v tests/integration |