-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
16 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 |
---|---|---|
|
@@ -66,9 +66,3 @@ runs: | |
- name: Install dependencies | ||
run: make install_${{ inputs.language}}_sdk | ||
shell: bash | ||
|
||
- name: Install gotestfmt | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v2.5.0 | ||
repo: GoTestTools/gotestfmt |
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 |
---|---|---|
|
@@ -205,13 +205,13 @@ jobs: | |
ARM_CLIENT_CERTIFICATE_PATH_FOR_TEST: "${{ runner.temp }}/azure-client-certificate.pfx" | ||
run: | | ||
set -euo pipefail | ||
cd examples && go test -v -json -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
cd examples && go test -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | ||
- name: Run short tests | ||
if: inputs.short_test | ||
run: | | ||
set -euo pipefail | ||
cd examples && go test -v -json -cover -timeout 15m -short -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
cd examples && go test -cover -timeout 15m -short -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | ||
test_examples: | ||
needs: build_sdks | ||
|
@@ -263,7 +263,7 @@ jobs: | |
cd examples && \ | ||
go mod edit -replace github.com/pulumi/examples/misc/test=../p-examples/misc/test/ && \ | ||
go mod tidy && \ | ||
go test -v -json -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
go test -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | ||
test_provider: | ||
runs-on: ubuntu-latest | ||
|
@@ -281,12 +281,6 @@ jobs: | |
with: | ||
skip_dotnet_and_java: "true" | ||
|
||
- name: Install gotestfmt | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v2.5.0 | ||
repo: GoTestTools/gotestfmt | ||
|
||
- run: make ensure | ||
|
||
- name: Prerequisites artifact restore | ||
|
@@ -302,7 +296,7 @@ jobs: | |
- name: Test Provider Library | ||
run: | | ||
set -euo pipefail | ||
cd provider && go test -v -json -coverprofile="coverage.txt" -coverpkg=./... -timeout 1h -parallel 16 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
cd provider && go test -coverprofile="coverage.txt" -coverpkg=./... -timeout 1h -parallel 16 ./... 2>&1 | tee /tmp/gotest.log | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4 | ||
|