Skip to content

Commit 8fa52fa

Browse files
committed
Test reports
1 parent 46e3b1f commit 8fa52fa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-testing.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ 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
39+
with:
40+
name: ciMavenReport-${{ github.run_id } }
41+
path: target/surefire-reports
3742
- name: Test Report
3843
uses: dorny/test-reporter@v1
3944
if: success() || failure() # run this step even if previous step failed
4045
with:
4146
name: Test Results # Name of the check run which will be created
47+
artifact: ciMavenReport-${{ github.run_id }} # Artifact name to download
4248
path: ${{ github.workspace }}/target/surefire-reports # Path to test results
4349
reporter: java-junit # Format of test results
4450
#java-version: ${{ matrix.java-version }} # Java version
4551

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)