Skip to content

Commit

Permalink
Update build_lint_test.yml
Browse files Browse the repository at this point in the history
added code coverage
  • Loading branch information
FabricioArendTorres authored Oct 24, 2023
1 parent 807aea0 commit ed82e6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -27,4 +28,6 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2

0 comments on commit ed82e6e

Please sign in to comment.