Skip to content

Commit 0bca867

Browse files
committed
Test reports
1 parent bf78e16 commit 0bca867

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/ci-testing.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name : Run Tests suite
1212
runs-on: ubuntu-latest
1313
strategy:
14-
fail-fast: true
14+
#fail-fast: true
1515
matrix:
1616
java-version: [22]
1717

@@ -34,8 +34,17 @@ jobs:
3434
restore-keys: ${{ runner.os }}-m2
3535
- name: Run tests with Maven
3636
run: mvn -B test --file pom.xml
37-
- name: Création de l'artefact des résultats des tests
38-
uses: actions/upload-artifact@v4
37+
- name: Test Report
38+
uses: dorny/test-reporter@v1
39+
if: success() || failure() # run this step even if previous step failed
3940
with:
40-
name: ciMavenReport-${{ github.run_id }}
41-
path: target/surefire-reports
41+
name: Test Results # Name of the check run which will be created
42+
path: ${{ github.workspace }}/target/surefire-reports/TEST-TestSuite.xml # Path to test results
43+
reporter: java-junit # Format of test results
44+
#java-version: ${{ matrix.java-version }} # Java version
45+
46+
# - name: Création de l'artefact des résultats des tests
47+
# uses: actions/upload-artifact@v4
48+
# with:
49+
# name: ciMavenReport-${{ github.run_id }}
50+
# path: target/surefire-reports

0 commit comments

Comments
 (0)