Skip to content

Commit

Permalink
chore: manual acceptance test job
Browse files Browse the repository at this point in the history
In order to trigger acceptance tests for certain branches pre-merge, and
without having to wait for a nightly build, you can click "trigger
pipeline" in CircleCI and enter `ACC_TESTS=1` as a parameter.
  • Loading branch information
craigfurman committed May 31, 2023
1 parent 969cf36 commit 01b24be
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ orbs:
codecov: codecov/[email protected]
snyk: snyk/[email protected]
gh: circleci/[email protected]
parameters:
ACC_TESTS:
type: string
description: manually run acceptance tests
default: '0'
jobs:
test_acc:
parameters:
Expand Down Expand Up @@ -237,6 +242,22 @@ workflows:
branches:
only:
- main
manual-acc-tests:
when:
equal: ['1', << pipeline.parameters.ACC_TESTS >>]
jobs:
- test_acc:
name: "Acceptance tests: << matrix.pattern >>"
matrix:
parameters:
pattern:
- TestAcc_Aws
- TestAcc_Github_
- TestAcc_Google
- TestAcc_Azure_
- TestAcc_StateReader_
context:
- driftctl-acc
pullrequest:
jobs:
- lint:
Expand Down

0 comments on commit 01b24be

Please sign in to comment.