Skip to content

Commit

Permalink
Add aggregation job
Browse files Browse the repository at this point in the history
  • Loading branch information
foriequal0 committed Aug 12, 2024
1 parent 2ab80af commit ebcb50e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ jobs:
- run: cargo test --all-features
timeout-minutes: 5

tests-result:
runs-on: ubuntu-latest
needs: test
if: always()
steps:
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

lint-helm:
timeout-minutes: 1
runs-on: ubuntu-latest
Expand Down Expand Up @@ -135,3 +147,15 @@ jobs:
${KUBECTL} logs --ignore-errors=true "${POD}"
echo "::endgroup::"
done
smoke-tests-result:
runs-on: ubuntu-latest
needs: smoke-test
if: always()
steps:
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

0 comments on commit ebcb50e

Please sign in to comment.