1
0
mirror of synced 2026-01-06 06:04:16 -05:00

ci: upload test results to github for analysis (#17953)

* ci: upload test results to github for analysis

* fix: filter down to only test folders
This commit is contained in:
Conor
2022-10-13 19:38:03 -05:00
committed by GitHub
parent 21352b6003
commit 19f74282be

View File

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