Skip to content

Commit 95a237e

Browse files
committed
Remove possibly redundant --python-version when installing deps
1 parent 041d509 commit 95a237e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: ${{ env.PYTHON_VERSION }}
2828

2929
- name: Install dependencies (default with full options & doc)
30-
run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group doc
30+
run: uv pip install -e '.[full]' --group doc
3131

3232
- name: Determine deployment folder
3333
id: deploy_folder

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
python-version: ${{ env.PYTHON_VERSION }}
3434
- 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
3636
- name: Run unit and doc tests with coverage report
3737
run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
3838
- &upload-codecov
@@ -48,7 +48,7 @@ jobs:
4848
- *checkout
4949
- *setup-uv
5050
- 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
5252
- name: Run unit and doc tests with coverage report
5353
run: |
5454
uv run pytest -W error tests/unit tests/doc \
@@ -66,7 +66,7 @@ jobs:
6666
- *checkout
6767
- *setup-uv
6868
- 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
7070
- name: Run unit and doc tests with coverage report
7171
run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
7272
env:
@@ -80,7 +80,7 @@ jobs:
8080
- *checkout
8181
- *setup-uv
8282
- 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
8484

8585
- name: Build Documentation
8686
working-directory: docs
@@ -94,7 +94,7 @@ jobs:
9494
- *setup-uv
9595

9696
- 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
9898

9999
- name: Run mypy
100100
run: uv run mypy src/torchjd

0 commit comments

Comments
 (0)