Skip to content

Commit 9288ffc

Browse files
committed
more fixes to xdist
1 parent 952e5b4 commit 9288ffc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- name: Archive code coverage results
77
uses: actions/upload-artifact@v4
88
with:
9-
name: code-coverage-report
9+
name: ${{github.job}} HTML REPORT
1010
path: report
1111
- name: Generate Report
1212
uses: dorny/test-reporter@v2

api_tests/metrics/test_reports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import pytest
44

5-
expected_report_names = {
5+
expected_report_names = [
66
# 'addon_usage',
77
'download_count',
88
'institution_summary',
99
'node_summary',
1010
'osfstorage_file_count',
1111
'preprint_summary',
1212
'user_summary',
13-
}
13+
]
1414

1515
@pytest.mark.django_db
1616
class TestMetricsReports:

tasks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def test_module(ctx, module=None, numprocesses=None, nocapture=False, params=Non
297297
args = []
298298
if junit:
299299
args.extend(['--junit-xml', 'report.xml'])
300-
args.extend(['--html=report/index.html'])
300+
args.extend(['--html=report.html', '--self-contained-html'])
301301
if coverage:
302302
args.extend([
303303
'--cov-report', 'term-missing',

0 commit comments

Comments
 (0)