Skip to content

Commit 24a5452

Browse files
committed
ci: Switch test reporter to dorny/test-reporter
1 parent f919f8d commit 24a5452

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/check-test-unit.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defaults:
2424
shell: bash -xe {0}
2525

2626
jobs:
27-
unit-test:
27+
ci-unit:
2828
runs-on: ubuntu-24.04
2929
steps:
3030
- uses: actions/checkout@v5
@@ -44,12 +44,18 @@ jobs:
4444
- name: Run unit tests
4545
env:
4646
CI: true
47-
run: nix develop --command ./scripts/test-unit.sh --profile ci-unit
47+
run: nix develop --command ./scripts/test-unit.sh --profile ${{ github.job }}
4848

49-
- name: Publish Unit Test Results
50-
uses: EnricoMi/publish-unit-test-result-action@v2
49+
- name: Upload test results
50+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
51+
with:
52+
name: junit-report
53+
path: target/nextest/${{ github.job }}/junit.xml
54+
55+
- name: Report results in GitHub UI
56+
uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3
5157
if: always()
5258
with:
53-
check_name: Test results
54-
files: |
55-
target/nextest/ci-unit/junit.xml
59+
name: Rust tests
60+
path: target/nextest/${{ github.job }}/junit.xml
61+
reporter: java-junit

0 commit comments

Comments
 (0)