We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ca026 commit 784595bCopy full SHA for 784595b
.github/workflows/go.yaml
@@ -23,7 +23,9 @@ jobs:
23
run: go mod download
24
25
- name: Test
26
- run: go test -coverprofile=coverage.txt ./...
+ env:
27
+ GOTESTSUM_JUNITFILE: junit.xml
28
+ run: make
29
30
- name: Upload results to Codecov
31
uses: codecov/codecov-action@v4
.gitignore
@@ -1 +1,2 @@
1
coverage.txt
2
+junit.xml
Makefile
@@ -0,0 +1,10 @@
+.PHONY: test
+
3
+all: clean test
4
5
+test: clean
6
+ @echo "Running tests..."
7
+ @go run gotest.tools/gotestsum@v1.12.0 -- -coverprofile=coverage.txt ./...
8
9
+clean:
10
+ git clean -Xdf
0 commit comments