chore(build): archive logs and test results
@@ -62,6 +62,14 @@ jobs:
restore-keys: ${{ runner.os }}-maven-
- name: Build and test
run: tools/bin/syndesis build --batch-mode --backend
+ - name: Archive logs and test results
+ uses: actions/upload-artifact@v2
+ with:
+ name: checks-backend
+ path: |
+ app/**/target/*.log
+ app/**/target/surefire-reports/*
+ app/**/target/failsafe-reports/*
- name: Set up JDK 11
if: needs.setup.outputs.is_default_branch == 'true'
uses: actions/setup-java@v1
@@ -140,3 +148,11 @@ jobs:
run: tools/bin/syndesis build -m s2i --flash --docker
- name: Run integration tests
run: tools/bin/syndesis integration-test --s2i --logging
+ - name: Archive logs and test results
+ uses: actions/upload-artifact@v2
+ with:
+ name: checks-integration-tests
+ path: |
+ app/test/integration-test/target/*.log
+ app/test/integration-test/target/citrus-reports/**/*
+ app/test/integration-test/target/failsafe-reports/*
