Skip to content

Commit

Permalink
- Split coverage into separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Oct 4, 2023
1 parent 10218ec commit f8bd492
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file=flake8.output
cat flake8.output
- name: Test with pytest
- name: Run tests and generate coverage
run: |
pytest
coverage run
- name: Generate Coverage
- name: Generate coverage report
run: |
coverage run
coverage xml
- name: Print coverage report
run: |
coverage report
- name: Upload coverage
Expand Down

0 comments on commit f8bd492

Please sign in to comment.