File tree 5 files changed +2686
-22
lines changed
5 files changed +2686
-22
lines changed Original file line number Diff line number Diff line change 17
17
run : npm ci
18
18
- name : Run tests
19
19
run : npm run unit
20
+ - name : Upload coverage to codecov
21
+ if : >-
22
+ ${{
23
+ ! github.event.schedule &&
24
+ github.repository_owner == 'pytest-dev'
25
+ }}
26
+ uses : codecov/codecov-action@v3
27
+ with :
28
+ fail_ci_if_error : true
29
+ files : ./cobertura-coverage.xml
30
+ flags : js_tests
31
+ name : ubuntu-latest-node-16
32
+ verbose : true
20
33
21
34
test_unit :
22
35
name : ${{ matrix.os }} - ${{ matrix.python-version }}
99
112
with :
100
113
fail_ci_if_error : true
101
114
files : ./coverage.xml
102
- flags : tests
103
- name : ${{ matrix.os }}-${{ matrix.python-version }}
115
+ flags : py_unit_tests
116
+ name : ${{ matrix.os }}-python- ${{ matrix.python-version }}
104
117
verbose : true
105
118
106
119
test_integration :
@@ -161,7 +174,6 @@ jobs:
161
174
if : ${{ matrix.tox-env }}
162
175
run : tox -e ${{ matrix.tox-env }} -- testing/test_integration.py
163
176
164
- # TODO: https://github.com/pytest-dev/pytest-html/issues/481
165
177
- name : Upload coverage to codecov
166
178
if : >-
167
179
${{
@@ -173,6 +185,6 @@ jobs:
173
185
with :
174
186
fail_ci_if_error : true
175
187
files : ./coverage.xml
176
- flags : tests
177
- name : ${{ matrix.tox-env }}
188
+ flags : py_integration_tests
189
+ name : ubuntu-latest- ${{ matrix.python-version }}
178
190
verbose : true
Original file line number Diff line number Diff line change 9
9
# Codecov
10
10
.coverage
11
11
coverage.xml
12
+ cobertura-coverage.xml
12
13
13
14
# IDE Specific files/folders
14
15
# # Pycharm IDE - Jetbrains
@@ -53,3 +54,5 @@ docs/_build/
53
54
54
55
* .html
55
56
assets /
57
+
58
+ .nyc_output
Original file line number Diff line number Diff line change
1
+ {
2
+ "report-dir" : " ." ,
3
+ "reporter" : [" cobertura" ],
4
+ "exclude" : [" testing/**" ]
5
+ }
You can’t perform that action at this time.
0 commit comments