Skip to content

Commit

Permalink
ci: ensure integration tests run to completion
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Aug 25, 2023
1 parent 6057765 commit a188441
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,19 @@ jobs:
timeout-minutes: 4
with:
datadog-token: ${{ secrets.DATADOG_API_KEY }}

integration-tests-completed:
needs:
- pre_check
- getting-started
- deployment-test
- test-docker-build
if: needs.pre_check.outputs.should_run == 'true' && always()
runs-on: ubuntu-latest
steps:
- shell: bash
run: |
echo "All integration tests completed"
cat <<EOF
needs ${{ toJSON(needs) }}
EOF
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ queue_rules:
conditions:
- base=master
# Require integration tests before merging only
- check-success=integration-tests-completed
- or:
- label=bypass:integration
- check-failure!=Integration tests
Expand Down

0 comments on commit a188441

Please sign in to comment.