Skip to content
Prev Previous commit
Cheating on the coverage badge
  • Loading branch information
jshcodes committed Jan 5, 2021
commit 12e99a7088c0d24b3b0d45986f0e54e434d93afc
3 changes: 1 addition & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest coverage coverage-badge
python -m pip install flake8 pytest coverage
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -41,4 +41,3 @@ jobs:
run: |
coverage run --source src -m pytest -s -W ignore::Warning
coverage report
coverage-badge -o tests/coverage.svg -f -q