Skip to content

Commit 19f7428

Browse files
author
Conor
authored
ci: upload test results to github for analysis (#17953)
* ci: upload test results to github for analysis * fix: filter down to only test folders
1 parent 21352b6 commit 19f7428

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,15 @@ jobs:
540540
path: '/actions-runner/_work/airbyte/airbyte/*'
541541
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }}
542542
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
543+
544+
- name: Upload test results to Github for analysis
545+
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
546+
uses: actions/upload-artifact@v3
547+
with:
548+
path: |
549+
/actions-runner/_work/airbyte/airbyte/*/build/test-results/*/*.xml
550+
/actions-runner/_work/airbyte/airbyte/*/*/build/test-results/*/*.xml
551+
name: test-results-build
543552

544553
# In case of self-hosted EC2 errors, remove this block.
545554
stop-platform-build-runner:
@@ -689,6 +698,15 @@ jobs:
689698
path: '/actions-runner/_work/airbyte/airbyte/*'
690699
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }}
691700
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
701+
702+
- name: Upload test results to Github for analysis
703+
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
704+
uses: actions/upload-artifact@v3
705+
with:
706+
path: |
707+
/actions-runner/_work/airbyte/airbyte/*/build/test-results/*/*.xml
708+
/actions-runner/_work/airbyte/airbyte/*/*/build/test-results/*/*.xml
709+
name: test-results-kube
692710

693711
- uses: actions/upload-artifact@v2
694712
if: failure()

0 commit comments

Comments
 (0)