mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
- Split coverage into separate steps
This commit is contained in:
parent
10218ecce9
commit
f8bd49213c
1 changed files with 7 additions and 5 deletions
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue