Skip to content

Commit

Permalink
ci: add PR job for reporting integration test status
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Świątek committed Oct 14, 2022
1 parent 45d7147 commit e07d609
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,15 @@ jobs:
- name: Run integration test - ${{ matrix.test_name }}
working-directory: ./tests/integration/
run: make test TEST_NAME=${{matrix.test_name}} KIND_NODE_IMAGE=${{matrix.kind_image}}

integration-test-status:
runs-on: ubuntu-20.04
needs:
- integration-tests
steps:
- name: Tests passed
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

0 comments on commit e07d609

Please sign in to comment.