Merge pull request #1493 from paulfantom/e2e-reporting
.github/workflows: group all e2e jobs into one job report
This commit is contained in:
15
.github/workflows/ci.yaml
vendored
15
.github/workflows/ci.yaml
vendored
@@ -86,3 +86,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export KUBECONFIG="${HOME}/.kube/config"
|
export KUBECONFIG="${HOME}/.kube/config"
|
||||||
make test-e2e
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user