Skip to content

Commit

Permalink
ci: Add job which aggregates test results used for branch protection (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkilchhofer authored Oct 24, 2024
1 parent dcbccfc commit 037d951
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,18 @@ jobs:
env:
ARGOCD_VERSION: ${{ matrix.argocd_version }}
run: make testacc

# This job aggregates test results. It's the required check for branch protection.
# https://github.com/marketplace/actions/alls-green#why
# https://github.com/orgs/community/discussions/33579
success:
name: Acceptance Tests successful
if: always()
needs:
- acceptance_tests
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 037d951

Please sign in to comment.