File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ website/vendor
3434! command /test-fixtures /** /* .tfstate
3535! command /test-fixtures /** /.terraform /
3636
37+ # Test reports
38+ junit-report.xml
39+ testacc-output.txt
40+
3741# Keep windows files with windows line endings
3842* .winfile eol=crlf
3943/.vs
Original file line number Diff line number Diff line change @@ -34,7 +34,11 @@ test: fmtcheck
3434 go test $(TEST ) -timeout=30s -parallel=4
3535
3636testacc : fmtcheck
37- CGO_ENABLED=1 TF_ACC=1 go test $(TEST ) -v $(TESTARGS ) -timeout 120m -race
37+ CGO_ENABLED=1 TF_ACC=1 go test $(TEST ) -v $(TESTARGS ) -timeout 120m -race 2>&1 | tee testacc-output.txt
38+
39+ junit-report : testacc
40+ @go install github.com/jstemmer/go-junit-report/v2@latest
41+ @go-junit-report -in testacc-output.txt -out junit-report.xml
3842
3943vet :
4044 @echo " go vet ."
You can’t perform that action at this time.
0 commit comments