Skip to content

Commit

Permalink
Avoid installing all dev dependencies on Gtihub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cauethenorio committed Mar 29, 2021
1 parent 581c90f commit 3b1782e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install deps
run: |
python -m pip install --upgrade pip
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
pip install pytest coverage
pip install -e .
- name: Run tests
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
- name: Install deps
run: |
python -m pip install --upgrade pip
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
pip install tox-gh-actions
pip install -e .
pip install tox tox-gh-actions
- name: Test with tox
run: tox

0 comments on commit 3b1782e

Please sign in to comment.