File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -75,18 +75,13 @@ jobs:
75
75
run : |
76
76
mkdir reports/
77
77
pip install -e . --no-build-isolation
78
- coverage run -m pytest --reruns 5 -m ${{ matrix.mark }}
79
-
80
- - name : Combine coverage
81
- run : |
82
- coverage combine
83
- coverage xml -o reports/coverage-${{ matrix.python-version }}.xml -i
78
+ coverage run -m pytest -m ${{ matrix.mark }}
84
79
85
80
- name : Upload coverage results
86
81
uses : actions/upload-artifact@v3
87
82
with :
88
83
name : code-coverage-${{ matrix.python-version }}
89
- path : reports/coverage-${{ matrix.python-version }}.xml
84
+ path : reports/.coverage*
90
85
91
86
all_done :
92
87
name : Tests done
@@ -105,6 +100,11 @@ jobs:
105
100
- name : Move coverage reports to the root folder
106
101
run : find reports -type f -exec mv '{}' reports \;
107
102
103
+ - name : Combine coverage
104
+ run : |
105
+ coverage combine
106
+ coverage xml -o reports/coverage.xml -i
107
+
108
108
- name : Check coverage
109
109
uses : codecov/codecov-action@v3
110
110
with :
You can’t perform that action at this time.
0 commit comments