From b6e63cd6e79b49934fea13cb66b98d47c11273bd Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Tue, 10 Dec 2024 16:25:46 +0100 Subject: [PATCH] Don't run `go test` in JSON mode (#2722) Follow-up on https://github.com/pulumi/pulumi-gcp/pull/2712. --- .ci-mgmt.yaml | 2 +- .github/workflows/master.yml | 2 +- .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 35d64d2ea3..c057c9a611 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -38,6 +38,6 @@ actions: make upstream - name: Run provider tests run: | - cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . + cd provider && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . # Use `pulumi convert` for translating examples from TF to Pulumi. pulumiConvert: 1 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a1580a8b72..23d87b5599 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -195,7 +195,7 @@ jobs: make upstream - name: Run provider tests run: | - cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . + cd provider && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . - name: Run tests run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 strategy: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 4601b8ff04..0950dac80d 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -136,7 +136,7 @@ jobs: make upstream - name: Run provider tests run: | - cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . + cd provider && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . - name: Run tests run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5736af2851..8b336057ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,7 +142,7 @@ jobs: make upstream - name: Run provider tests run: | - cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . + cd provider && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . - name: Run tests run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . strategy: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 5121476d96..e4ef8741a5 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -191,7 +191,7 @@ jobs: make upstream - name: Run provider tests run: | - cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . + cd provider && 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 -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 .