-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
actions.preTest
in favor of integrationTestProvider
By using ci-mgmt's intended solution for running integration tests in the `provider/` directory, we get a maintained test script and avoid overloading the `actions.preTest` hook to run tests. Related to pulumi/ci-mgmt#1276, pulumi/ci-mgmt#1274 (comment)
- Loading branch information
Showing
2 changed files
with
4 additions
and
13 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 |
---|---|---|
@@ -1,28 +1,18 @@ | ||
provider: meraki | ||
major-version: 0 | ||
makeTemplate: bridged | ||
# TODO: Enable this once our random provider is updated with framework support | ||
# generate-nightly-test-workflow: true | ||
plugins: | ||
- name: std | ||
version: "1.6.2" | ||
|
||
- name: terraform | ||
version: "1.0.16" | ||
kind: converter | ||
|
||
team: ecosystem | ||
providerDefaultBranch: main | ||
|
||
env: | ||
MERAKI_ORG_ID: ${{ secrets.MERAKI_ORG_ID }} | ||
MERAKI_DASHBOARD_API_KEY: ${{ secrets.MERAKI_DASHBOARD_API_KEY }} | ||
|
||
actions: | ||
preTest: | ||
- name: Run provider tests | ||
run: | | ||
cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
pulumiConvert: 1 | ||
registryDocs: true | ||
checkUpstreamUpgrade: false | ||
integrationTestProvider: true |
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