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 db82fd5 commit 1180a67Copy full SHA for 1180a67
.github/workflows/main.yml
@@ -23,7 +23,7 @@ jobs:
23
- name: Run unit tests
24
run: |
25
make test
26
- go test -json ./... > test-report.json
+ make test-json
27
- name: SonarCloud Scan
28
uses: SonarSource/sonarcloud-github-action@master
29
env:
Makefile
@@ -37,6 +37,9 @@ test:
37
go test -race -count=1 -v --coverprofile=coverage.txt ./...
38
go tool cover -func coverage.txt | grep total
39
40
+test-json:
41
+ go test -json ./... > test-report.json
42
+
43
cov: test
44
go tool cover -html=coverage.txt
45
0 commit comments