- Split coverage into separate steps

This commit is contained in:
nwithan8 2023-10-03 19:09:35 -06:00
parent 10218ecce9
commit f8bd49213c
1 changed files with 7 additions and 5 deletions

View File

@ -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
run: |
pytest
- name: Generate Coverage
- name: Run tests and generate coverage
run: |
coverage run
- name: Generate coverage report
run: |
coverage xml
- name: Print coverage report
run: |
coverage report
- name: Upload coverage