|
32 | 32 | with: |
33 | 33 | python-version: ${{ env.PYTHON_VERSION }} |
34 | 34 | - name: Install default (with full options) and test dependencies |
35 | | - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group test |
| 35 | + run: uv pip install -e '.[full]' --group test |
36 | 36 | - name: Run unit and doc tests with coverage report |
37 | 37 | run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml |
38 | 38 | - &upload-codecov |
|
48 | 48 | - *checkout |
49 | 49 | - *setup-uv |
50 | 50 | - name: Install default (without any option) and test dependencies |
51 | | - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e . --group test |
| 51 | + run: uv pip install -e . --group test |
52 | 52 | - name: Run unit and doc tests with coverage report |
53 | 53 | run: | |
54 | 54 | uv run pytest -W error tests/unit tests/doc \ |
|
66 | 66 | - *checkout |
67 | 67 | - *setup-uv |
68 | 68 | - name: Install default (with full options) and test dependencies |
69 | | - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group test |
| 69 | + run: uv pip install -e '.[full]' --group test |
70 | 70 | - name: Run unit and doc tests with coverage report |
71 | 71 | run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml |
72 | 72 | env: |
|
80 | 80 | - *checkout |
81 | 81 | - *setup-uv |
82 | 82 | - name: Install dependencies (default with full options & doc) |
83 | | - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group doc |
| 83 | + run: uv pip install -e '.[full]' --group doc |
84 | 84 |
|
85 | 85 | - name: Build Documentation |
86 | 86 | working-directory: docs |
|
94 | 94 | - *setup-uv |
95 | 95 |
|
96 | 96 | - name: Install dependencies (default with full options & check) |
97 | | - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group check |
| 97 | + run: uv pip install -e '.[full]' --group check |
98 | 98 |
|
99 | 99 | - name: Run mypy |
100 | 100 | run: uv run mypy src/torchjd |
0 commit comments