Merge pull request #1493 from paulfantom/e2e-reporting

.github/workflows: group all e2e jobs into one job report
This commit is contained in:
Paweł Krupa
2021-11-15 10:18:46 +01:00
committed by GitHub

View File

@@ -86,3 +86,18 @@ jobs:
run: |
export KUBECONFIG="${HOME}/.kube/config"
make test-e2e
# Added to summarize the matrix and allow easy branch protection rules setup
e2e-tests-result:
name: End-to-End Test Results
if: always()
needs:
- e2e-tests
runs-on: ubuntu-latest
steps:
- name: Mark the job as a success
if: needs.e2e-tests.result == 'success'
run: exit 0
- name: Mark the job as a failure
if: needs.e2e-tests.result != 'success'
run: exit 1