-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
969cf36
commit 01b24be
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|