Skip to content

Commit

Permalink
add final job to consolidate the smoke test result (#4885)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Jan 9, 2024
1 parent cb42312 commit 554ac16
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,20 @@ jobs:
path: ${{ github.workspace }}/tests/${{ steps.smoke-tests.outputs.test-results-name }}.html
if: always()

smoke-results:
if: ${{ always() }}
runs-on: ubuntu-22.04
name: Final Smoke Test Results
needs: [smoke-tests]
steps:
- run: |
result="${{ needs.smoke-tests.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi
build-docker:
name: Build Docker OSS
needs: [checks, smoke-tests]
Expand Down

0 comments on commit 554ac16

Please sign in to comment.