Skip to content

Commit 952e5b4

Browse files
committed
fix
1 parent fc39d55 commit 952e5b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/actions/gen-report/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ description: 'Generate test report from junit xml file'
33
runs:
44
using: "composite"
55
steps:
6+
- name: Archive code coverage results
7+
uses: actions/upload-artifact@v4
8+
with:
9+
name: code-coverage-report
10+
path: report
611
- name: Generate Report
712
uses: dorny/test-reporter@v2
813
if: success() || failure() # run this step even if previous step failed

tasks/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ def test_module(ctx, module=None, numprocesses=None, nocapture=False, params=Non
296296
# https://github.com/gabrielfalcao/HTTPretty/issues/209#issue-54090252
297297
args = []
298298
if junit:
299-
args.extend(['--html=report/report.html'])
299+
args.extend(['--junit-xml', 'report.xml'])
300+
args.extend(['--html=report/index.html'])
300301
if coverage:
301302
args.extend([
302303
'--cov-report', 'term-missing',

0 commit comments

Comments
 (0)