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:
18
.github/workflows/gradle.yml
vendored
18
.github/workflows/gradle.yml
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user