Skip to content

Commit

Permalink
attempt fix and simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sloloris committed Dec 4, 2024
1 parent f44e19e commit e43853b
Showing 1 changed file with 28 additions and 65 deletions.
93 changes: 28 additions & 65 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,71 +49,34 @@ jobs:
# Run acceptance tests in a matrix with Terraform CLI versions
test:
executor:
name: go/default
tag: &go_version "1.21.3"
environment:
runs-on: ubuntu-latest
env:
# sc-146360 - overrides the default timeout of 3000ms when reaching checkpoint-api.hashicorp.com
CHECKPOINT_TIMEOUT: 15000
steps:
- checkout
- go/mod-download-cached
- run:
name: Run unit tests
command: TESTARGS="-v" make test
- run:
name: Test Data Sources
command: TESTARGS="-run TestAccDataSource" make testacc-with-retry
- run:
name: Test Access Token Resource
command: TESTARGS="-run TestAccAccessToken" make testacc-with-retry
- run:
name: Test Audit Log Subscription Resource
command: TESTARGS="-run TestAccAuditLogSubscription" make testacc-with-retry
- run:
name: Test Custom Role Resource
command: TESTARGS="-run TestAccCustomRole" make testacc-with-retry
- run:
name: Test Destination Resource
command: TESTARGS="-run TestAccDestination" make testacc-with-retry
- run:
name: Test Environment Resource
command: TESTARGS="-run TestAccEnvironment" make testacc-with-retry
- run:
name: Test Feature Flag Resource
command: TESTARGS="-run TestAccFeatureFlag_" make testacc-with-retry
- run:
name: Test Feature Flag Environment Resource
command: TESTARGS="-run TestAccFeatureFlagEnvironment" make testacc-with-retry
- run:
name: Test Flag Trigger Resource
command: TESTARGS="-run TestAccFlagTrigger" make testacc-with-retry
- run:
name: Test Metric Resource
command: TESTARGS="-run TestAccMetric" make testacc-with-retry
- run:
name: Test Project Resource
command: TESTARGS="-run TestAccProject" make testacc-with-retry
- run:
name: Test Relay Proxy Configuration Resource
command: TESTARGS="-run TestAccRelayProxy" make testacc-with-retry
- run:
name: Test Segment Resource
command: TESTARGS="-run TestAccSegment" make testacc-with-retry
- run:
name: Test Team Members
command: |
TESTARGS="-run TestAccTeamMember_CreateGeneric" make testacc-with-retry
TESTARGS="-run TestAccTeamMember_UpdateGeneric" make testacc-with-retry
TESTARGS="-run TestAccTeamMember_CreateWithCustomRole" make testacc-with-retry
TESTARGS="-run TestAccTeamMember_UpdateWithCustomRole" make testacc-with-retry
- run:
name: Test Team Resource
command: TESTARGS="-run TestAccTeam_" make testacc-with-retry
- run:
name: Test Team Role Mapping Resource
command: TESTARGS="-run TestAccTeamRoleMapping_" make testacc-with-retry
- run:
name: Test Webhook Resource
command: TESTARGS="-run TestAccWebhook" make testacc-with-retry
- notify-slack-of-failures
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.21.3"
- run: go mod download
- run: TESTARGS="-v" make test
- run: TESTARGS="-run TestAccDataSource" make testacc-with-retry
- run: TESTARGS="-run TestAccAccessToken" make testacc-with-retry
- run: TESTARGS="-run TestAccAuditLogSubscription" make testacc-with-retry
- run: TESTARGS="-run TestAccCustomRole" make testacc-with-retry
- run: TESTARGS="-run TestAccDestination" make testacc-with-retry
- run: TESTARGS="-run TestAccEnvironment" make testacc-with-retry
- run: TESTARGS="-run TestAccFeatureFlag_" make testacc-with-retry
- run: TESTARGS="-run TestAccFeatureFlagEnvironment" make testacc-with-retry
- run: TESTARGS="-run TestAccFlagTrigger" make testacc-with-retry
- run: TESTARGS="-run TestAccMetric" make testacc-with-retry
- run: TESTARGS="-run TestAccProject" make testacc-with-retry
- run: TESTARGS="-run TestAccRelayProxy" make testacc-with-retry
- run: TESTARGS="-run TestAccSegment" make testacc-with-retry
- run: TESTARGS="-run TestAccTeamMember_CreateGeneric" make testacc-with-retry
- run: TESTARGS="-run TestAccTeamMember_UpdateGeneric" make testacc-with-retry
- run: TESTARGS="-run TestAccTeamMember_CreateWithCustomRole" make testacc-with-retry
- run: TESTARGS="-run TestAccTeamMember_UpdateWithCustomRole" make testacc-with-retry
- run: TESTARGS="-run TestAccTeam_" make testacc-with-retry
- run: TESTARGS="-run TestAccTeamRoleMapping_" make testacc-with-retry
- run: TESTARGS="-run TestAccWebhook" make testacc-with-retry

0 comments on commit e43853b

Please sign in to comment.