Skip to content

Commit

Permalink
Skip unnecessary pip install commands in the pythonpackage.yml work…
Browse files Browse the repository at this point in the history
…flow (#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.
  • Loading branch information
mportesdev committed Apr 18, 2023
1 parent 0342c33 commit 45619e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install tox
- name: Run tox
run: tox run -e format
Expand All @@ -41,8 +39,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install tox
- name: Run tox
run: tox run -e pep8
Expand All @@ -66,8 +62,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install tox
- name: Run tox
run: tox run -e py${{ matrix.python-version[1] }}

0 comments on commit 45619e0

Please sign in to comment.