Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail on failed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Raphael Silva <[email protected]>
rapphil committed Jul 17, 2024
1 parent 39a14b0 commit 6e7dc93
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/scripts/integ-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh
#!/bin/sh

# Fail if any of the steps fail
set -e

IMAGE=$1
CONTAINER_NAME="integ-test-$(date +%s)"
4 changes: 3 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -89,4 +89,6 @@ jobs:
registry: ${{ env.STAGING_ECR_REGISTRY }}

- name: Run integration tests
run: ./.github/scripts/integ-tests.sh ${{ env.STAGING_ECR_REGISTRY }}/${{ env.STAGING_ECR_REPOSITORY }}:${{ needs.build.outputs.commit-short-sha }}
run: |
set -e
./.github/scripts/integ-tests.sh ${{ env.STAGING_ECR_REGISTRY }}/${{ env.STAGING_ECR_REPOSITORY }}:${{ needs.build.outputs.commit-short-sha }}

0 comments on commit 6e7dc93

Please sign in to comment.