Skip to content

Commit d6394bf

Browse files
committed
github: publish junit test reports
1 parent e1e164e commit d6394bf

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,26 @@ jobs:
1313
- name: Set up JDK 17
1414
uses: actions/setup-java@v4
1515
with:
16-
java-version: '17'
17-
distribution: 'temurin'
16+
java-version: "17"
17+
distribution: "temurin"
1818
cache: maven
1919
- name: Build with Maven
2020
run: mvn --batch-mode --update-snapshots package
2121

22+
- name: JUnit test report
23+
uses: mikepenz/action-junit-report@v5
24+
if: always()
25+
with:
26+
check_name: junit test report
27+
report_paths: "**/target/surefire-reports/*.xml"
28+
2229
- name: Run pynfs tests in container
2330
id: tester
2431
run: COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose -f full-test.yml up --build --quiet-pull --exit-code-from tester
2532

26-
- name: Publish Test Report
33+
- name: Pynfs Test Report
2734
uses: mikepenz/action-junit-report@v5
2835
if: always()
2936
with:
30-
report_paths: 'report/*.xml'
37+
check_name: pynfs protocol compatibility test
38+
report_paths: "report/*.xml"

0 commit comments

Comments
 (0)