Skip to content

Commit 464032f

Browse files
committed
wip8
1 parent c822b0a commit 464032f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/docker-build.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,8 @@ jobs:
149149
# Run integration tests
150150
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"
151151
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
164154
165155
- name: Clean up
166156
if: always()

0 commit comments

Comments
 (0)