Skip to content

Commit 8db20ff

Browse files
committed
ci: Save junit XML for tests
To make it easier to verify things. Signed-off-by: Colin Walters <[email protected]>
1 parent ef41020 commit 8db20ff

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.config/nextest.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ success-output = "never"
2727
status-level = "pass"
2828
# Only run integration tests with this profile
2929
default-filter = "package(integration-tests)"
30+
31+
[profile.integration.junit]
32+
path = "junit.xml"
33+
store-success-output = true
34+
store-failure-output = true

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
- name: Run integration tests
5151
run: just test-integration
5252

53+
- name: Upload junit XML
54+
if: always()
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: integration-junit-xml
58+
path: target/nextest/integration/junit.xml
59+
retention-days: 7
60+
5361
- name: Create archive
5462
run: just archive
5563

0 commit comments

Comments
 (0)