- Split coverage into separate steps

This commit is contained in:
nwithan8 2023-10-03 19:09:35 -06:00
parent 10218ecce9
commit f8bd49213c

View file

@ -56,14 +56,16 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file=flake8.output flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file=flake8.output
cat flake8.output cat flake8.output
- name: Test with pytest - name: Run tests and generate coverage
run: |
pytest
- name: Generate Coverage
run: | run: |
coverage run coverage run
- name: Generate coverage report
run: |
coverage xml coverage xml
- name: Print coverage report
run: |
coverage report coverage report
- name: Upload coverage - name: Upload coverage