Skip to content

Commit e05b62d

Browse files
committed
Add Tests badge to README.md
1 parent d8bbb6a commit e05b62d

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,9 @@ jobs:
104104
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
105105
run: |
106106
go install github.com/gruntwork-io/terratest/cmd/terratest_log_parser@latest
107+
go install github.com/becheran/go-testreport@latest
107108
go mod tidy
108-
go test -v -timeout 60m -coverprofile=coverage-examples-complete.out -race -covermode=atomic | tee test_output.log >> $GITHUB_STEP_SUMMARY
109-
terratest_log_parser -testlog test_output.log -outputdir results
110-
111-
- name: Test Summary
112-
uses: test-summary/action@v2
113-
with:
114-
paths: |
115-
test/results/**/*.xml
116-
test/results/*.xml
109+
go test -v -timeout 60m -json | go-testreport $GITHUB_STEP_SUMMARY
117110
118111
opentofu-e2e:
119112
name: E2E Tests (OpenTofu)
@@ -144,14 +137,6 @@ jobs:
144137
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
145138
run: |
146139
go install github.com/gruntwork-io/terratest/cmd/terratest_log_parser@latest
140+
go install github.com/becheran/go-testreport@latest
147141
go mod tidy
148-
go test -v -timeout 60m -coverprofile=coverage-examples-complete.out -race -covermode=atomic | tee test_output.log >> $GITHUB_STEP_SUMMARY
149-
terratest_log_parser -testlog test_output.log -outputdir results
150-
151-
- name: Test Summary
152-
uses: test-summary/action@v2
153-
with:
154-
paths: |
155-
test/results/**/*.xml
156-
test/results/*.xml
157-
142+
go test -v -timeout 60m -json | go-testreport $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)