Skip to content

Commit

Permalink
chore: Add retry to end-to-end workflow run (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
nieomylnieja authored Sep 30, 2024
1 parent bf0fe40 commit 6be322f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ jobs:
go-version-file: go.mod
cache: false
- name: Run tests
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
max_attempts: 3
command: make "$TEST_TARGET"
env:
SLOCTL_CLIENT_ID: ${{ inputs.clientId }}
SLOCTL_CLIENT_SECRET: ${{ secrets.clientSecret }}
SLOCTL_OKTA_ORG_URL: ${{ inputs.oktaOrgUrl }}
SLOCTL_OKTA_AUTH_SERVER: ${{ inputs.oktaAuthServer }}
SLOCTL_E2E_DOCKER_TEST_IMAGE: ${{ inputs.sloctlImage }}
TEST_TARGET: ${{ inputs.target }}
run: make "$TEST_TARGET"

0 comments on commit 6be322f

Please sign in to comment.