File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ jobs:
21
21
python -m pip install -r requirements_dev.txt
22
22
- name : Test with pytest and coverage
23
23
run : |
24
- pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing --cov-report=xml:coverage.xml -n auto tests/
24
+ pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
25
+ mv .coverage coverage-db
25
26
- name : Upload coverage artifact
26
27
if : success()
27
28
uses : actions/upload-artifact@v4
28
29
with :
29
30
name : coverage-2.7
30
- path : coverage.xml
31
+ path : coverage-db
31
32
32
33
Test :
33
34
runs-on : ubuntu-latest
@@ -46,14 +47,14 @@ jobs:
46
47
python -m pip install -r requirements_dev.txt
47
48
- name : Test with pytest and coverage
48
49
run : |
49
- pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing --cov-report=xml:coverage.xml -n auto tests/
50
- ls -lash .coverage
50
+ pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
51
+ mv .coverage coverage-db
51
52
- name : Upload coverage artifact
52
53
if : success()
53
54
uses : actions/upload-artifact@v4
54
55
with :
55
56
name : coverage-${{ matrix.python-version }}
56
- path : coverage.xml
57
+ path : coverage-db
57
58
58
59
combine-coverage :
59
60
runs-on : ubuntu-latest
76
77
- name : Combine coverage reports
77
78
run : |
78
79
set -x
79
- coverage combine coverage-*/coverage.xml
80
+ coverage combine coverage-*/coverage-db
80
81
coverage report
81
82
coverage xml -o ./coverage.xml
82
83
You can’t perform that action at this time.
0 commit comments