Skip to content

Commit 45619e0

Browse files
authored
Skip unnecessary pip install commands in the pythonpackage.yml workflow (#1021)
Remove redundant commands in CI workflow All checks in pythonpackage.yml are run by tox. Manual installation of requirements is unnecessary here, as tox will install and run everything in separate virtual environments.
1 parent 0342c33 commit 45619e0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
21-
pip install -r requirements.txt
22-
pip install -r test-requirements.txt
2321
pip install tox
2422
- name: Run tox
2523
run: tox run -e format
@@ -41,8 +39,6 @@ jobs:
4139
- name: Install dependencies
4240
run: |
4341
python -m pip install --upgrade pip
44-
pip install -r requirements.txt
45-
pip install -r test-requirements.txt
4642
pip install tox
4743
- name: Run tox
4844
run: tox run -e pep8
@@ -66,8 +62,6 @@ jobs:
6662
- name: Install dependencies
6763
run: |
6864
python -m pip install --upgrade pip
69-
pip install -r requirements.txt
70-
pip install -r test-requirements.txt
7165
pip install tox
7266
- name: Run tox
7367
run: tox run -e py${{ matrix.python-version[1] }}

0 commit comments

Comments
 (0)