Skip to content

Commit

Permalink
Update nightly-tfe-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonc authored Dec 6, 2022
1 parent 11dc5b4 commit 6c996d9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/nightly-tfe-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
go run . -w tflocal-terraform-provider-tfe-nightly
tests:
name: run
needs: instance
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down Expand Up @@ -91,9 +90,22 @@ jobs:
source $HOME/.env
gotestsum --format short-verbose -- $MOD_PROVIDER $MOD_TFE $MOD_VERSION -timeout=30m -run "${{ steps.test_split.outputs.run }}"
tests-summarize:
name: Summarize Tests
needs: [tests]
runs-on: ubuntu-latest
if: ${{ always() }}
steps:
- name: Check tests Status
run: |
if [ "${{ needs.tests.result }}" = "success" ]; then
exit 0
fi
exit 1
cleanup:
runs-on: ubuntu-latest
needs: tests
needs: [tests-summarize]
if: "${{ always() }}"
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 6c996d9

Please sign in to comment.