Skip to content

Commit 659982c

Browse files
committed
preserve test data
1 parent c907231 commit 659982c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/prs_and_commits.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ jobs:
5151
cache: maven
5252
- name: Build (Maven)
5353
run: mvn -P ci -ntp --batch-mode clean package
54+
- name: Upload logs on fail
55+
if: ${{ failure() }}
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: failure_logs
59+
path: "**/target/surefire-reports/**"
60+
retention-days: 1
5461
- name: Integration tests (Maven)
5562
env:
5663
# Necessary for client builder integration tests that run with
@@ -70,5 +77,5 @@ jobs:
7077
if: always()
7178
uses: actions/upload-artifact@v4
7279
with:
73-
path: kcbq-connector/target/failsafe-reports/*
80+
path: "**/target/failsafe-reports/**"
7481
name: integration-test-results

0 commit comments

Comments
 (0)