File tree Expand file tree Collapse file tree 3 files changed +61
-3
lines changed
Expand file tree Collapse file tree 3 files changed +61
-3
lines changed Original file line number Diff line number Diff line change 3030 java-version : ${{ matrix.java }}
3131
3232 - name : Build with Maven
33- run : mvn -B verify -DskipUnitTests=true -DskipModuleFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile --file extra/pom.xml
33+ id : build
34+ run : |
35+ mvn -B verify \
36+ -DskipUnitTests=true \
37+ -DskipModuleFunctionalTests=true \
38+ -Dtests.max-container-count=5 \
39+ -DdockerfileName=Dockerfile \
40+ -Dcheckstyle.skip \
41+ --file extra/pom.xml
42+
43+ - name : Emitting run result of functional test
44+ if : always()
45+ uses : dorny/test-reporter@v2.1.1
46+ with :
47+ name : ' Functional tests'
48+ working-directory : ' target/failsafe-reports'
49+ path : ' TEST-*.xml'
50+ reporter : java-junit
51+ use-actions-summary : ' true'
52+ list-suites : ' failed'
53+ list-tests : ' failed'
54+ fail-on-error : true
55+ fail-on-empty : true
56+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3232
3333 - name : Build with Maven
3434 run : mvn -B package --file extra/pom.xml
35+
36+ - name : Publish JUnit Report
37+ uses : mikepenz/action-junit-report@v5
38+ with :
39+ report_paths : ' **/target/surefire-reports/TEST-*.xml'
40+ check_name : ' JUnit Test Report'
41+ include_passed : true
42+ comment : true
43+ fail_on_failure : true
44+ updateComment : true
45+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3030 java-version : ${{ matrix.java }}
3131
3232 - name : Build with Maven
33- run : mvn package -DskipUnitTests=true --file extra/pom.xml
33+ run : mvn package -Dcheckstyle.skip - DskipUnitTests=true --file extra/pom.xml
3434
3535 - name : Run module tests
36- run : mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -DskipModuleFunctionalTests=false -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml
36+ id : build
37+ run : |
38+ mvn -B verify \
39+ -DskipUnitTests=true \
40+ -DskipFunctionalTests=true \
41+ -DskipModuleFunctionalTests=false \
42+ -Dtests.max-container-count=5 \
43+ -DdockerfileName=Dockerfile-modules \
44+ -Dcheckstyle.skip \
45+ --file extra/pom.xml
46+
47+ - name : Emitting run result of functional test
48+ if : always()
49+ uses : dorny/test-reporter@v2.1.1
50+ with :
51+ name : ' Module functional tests'
52+ working-directory : ' target/failsafe-reports'
53+ path : ' TEST-*.xml'
54+ reporter : java-junit
55+ use-actions-summary : ' true'
56+ list-suites : ' failed'
57+ list-tests : ' failed'
58+ fail-on-error : true
59+ fail-on-empty : true
60+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments