diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 9c5bd0ec..e5f1a094 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -15,11 +15,6 @@ env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} team: ecosystem - -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 +integrationTestProvider: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59ac882b..bcd44f9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,8 +80,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 .