Skip to content

Commit

Permalink
merge: #10077
Browse files Browse the repository at this point in the history
10077: Always upload test artifacts even on failure r=menski a=menski

## Description

Always upload test archive, even if tests fail.

## Related issues

follow-up to #9135 and #10045 



Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
  • Loading branch information
zeebe-bors-camunda[bot] and menski committed Aug 16, 2022
2 parents 2df4fac + cf882e7 commit 17630e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/actions/collect-test-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ runs:
- name: Archive Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: Test results for ${{ inputs.name }}
path: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
verify
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Integration Tests
exporter-tests:
Expand All @@ -82,6 +83,7 @@ jobs:
verify
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Exporter Tests
project-list:
Expand Down Expand Up @@ -127,6 +129,7 @@ jobs:
run: echo "ARTIFACT_NAME=$(echo ${{ matrix.project }} | sed 's/\//-/g')" >> $GITHUB_ENV
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: ${{ env.ARTIFACT_NAME }}
slow-unit-tests:
Expand Down Expand Up @@ -155,6 +158,7 @@ jobs:
verify
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Slow Unit Tests
smoke-tests:
Expand Down Expand Up @@ -191,6 +195,7 @@ jobs:
verify
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Smoke Tests ${{ matrix.os }}
java-randomized-tests:
Expand All @@ -207,6 +212,7 @@ jobs:
- run: mvn -T1C -B -D skipChecks -P parallel-tests,include-random-tests test
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Java Randomized Tests
go-client:
Expand Down Expand Up @@ -267,6 +273,7 @@ jobs:
verify
- name: Upload test artifacts
uses: ./.github/actions/collect-test-artifacts
if: always()
with:
name: Java 8 Client

Expand Down Expand Up @@ -296,6 +303,7 @@ jobs:
steps:
- name: Upload
uses: actions/upload-artifact@v3
if: always()
with:
name: Event File
path: ${{ github.event_path }}
Expand Down

0 comments on commit 17630e8

Please sign in to comment.