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 0505243 commit 7524da1Copy full SHA for 7524da1
.github/workflows/unit-tests.yml
@@ -0,0 +1,25 @@
1
+name: unit-tests
2
+permissions:
3
+ contents: read
4
+
5
+on:
6
+ push:
7
8
+jobs:
9
+ unit-tests:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v5
15
16
+ - name: Set up Go
17
+ uses: actions/setup-go@v6
18
+ with:
19
+ go-version: "1.24"
20
21
+ - name: Run Unit Tests
22
+ run: |
23
+ go clean -testcache && go test -v ./... -coverprofile=coverage.out
24
+ go tool cover -func=coverage.out
25
+ go tool cover -html=coverage.out -o coverage.html
0 commit comments