File tree 1 file changed +2
-12
lines changed
1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -149,18 +149,8 @@ jobs:
149
149
# Run integration tests
150
150
docker exec -w /workspace cws-test bash -c "export JAVA_HOME=/usr/lib/jvm/java-17-openjdk && export PATH=\$JAVA_HOME/bin:\$PATH && mvn -Dmaven.compiler.release=17 -Dmaven.compiler.source=17 -Dmaven.compiler.target=17 integration-test verify -DskipTests"
151
151
152
- # Save test artifacts
153
- mkdir -p ./test-results
154
- docker cp cws-test:/workspace/target/site/jacoco-aggregate ./test-results/ || true
155
- docker exec -w /workspace cws-test bash -c "find . -name 'surefire-reports' -type d | xargs -I{} ls -la {}" > ./test-results/test-results.txt || true
156
-
157
- - name : Upload test results
158
- uses : actions/upload-artifact@v2
159
- if : always()
160
- with :
161
- name : test-results
162
- path : ./test-results
163
- retention-days : 5
152
+ # Show summary of test results
153
+ docker exec -w /workspace cws-test bash -c "find . -name 'surefire-reports' -type d | xargs -I{} cat {}/*.txt 2>/dev/null || echo 'No test reports found'" || true
164
154
165
155
- name : Clean up
166
156
if : always()
You can’t perform that action at this time.
0 commit comments