diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index adceac68..81a974d6 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -5,11 +5,9 @@ generate-nightly-test-workflow: true plugins: - name: std version: "1.6.2" - - name: terraform version: "1.0.16" kind: converter - - name: aws version: "4.26.0" providerDefaultBranch: main @@ -17,17 +15,11 @@ team: ecosystem license: ignore: - github.com/hashicorp/terraform-provider-tls/shim - -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 - releaseVerification: nodejs: examples/private-key/ts python: examples/private-key/py dotnet: examples/private-key/dotnet go: examples/private-key/go +integrationTestProvider: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dec8ae62..ead1fd6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,8 +78,9 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} version: v2.5.0 - 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 + if: matrix.testTarget == 'local' + working-directory: provider + run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . - name: Run tests if: matrix.testTarget == 'local' run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 . diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index 6fbdeee6..4fa4d52d 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -79,9 +79,6 @@ jobs: uses: ./.github/actions/setup-tools with: tools: pulumicli, nodejs, python, dotnet, go, java - - 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 - name: Verify nodejs release uses: pulumi/verify-provider-release@v1 with: