Skip to content

Commit 31500d0

Browse files
committed
fixed html report + minor test reshuffle
1 parent 9288ffc commit 31500d0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
uses: actions/upload-artifact@v4
88
with:
99
name: ${{github.job}} HTML REPORT
10-
path: report
10+
path: report.html
1111
- name: Generate Report
1212
uses: dorny/test-reporter@v2
1313
if: success() || failure() # run this step even if previous step failed

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
mkdir -p ~/.cache/testmon
3131
rm -rf node_modules ## TODO remove this later
3232
33-
addons:
33+
addons_and_admin:
3434
runs-on: ubuntu-22.04
3535
needs: build-cache
3636
permissions:

tasks/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ def test_website(ctx, numprocesses=None, coverage=False, testmon=False, junit=Fa
414414
@task
415415
def test_api1(ctx, numprocesses=None, coverage=False, testmon=False, junit=False):
416416
"""Run the API test suite."""
417-
print(f'Testing modules "{API_TESTS1 + ADMIN_TESTS}"')
418-
test_module(ctx, module=API_TESTS1 + ADMIN_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
417+
print(f'Testing modules "{API_TESTS1}"')
418+
test_module(ctx, module=API_TESTS1, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
419419

420420

421421
@task
@@ -444,8 +444,8 @@ def test_admin(ctx, numprocesses=None, coverage=False, testmon=False, junit=Fals
444444
def test_addons(ctx, numprocesses=None, coverage=False, testmon=False, junit=False):
445445
"""Run all the tests in the addons directory.
446446
"""
447-
print(f'Testing modules "{ADDON_TESTS}"')
448-
test_module(ctx, module=ADDON_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
447+
print(f'Testing modules "{ADDON_TESTS + ADMIN_TESTS}"')
448+
test_module(ctx, module=ADDON_TESTS + ADMIN_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
449449

450450

451451
@task

0 commit comments

Comments
 (0)