File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments