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 bc5c318 commit 065b772Copy full SHA for 065b772
.github/workflows/test.yml
@@ -0,0 +1,32 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ name: Run Tests
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Go
19
+ uses: actions/setup-go@v5
20
+ with:
21
+ go-version: "1.24"
22
23
+ - name: Download dependencies
24
+ run: go mod download
25
26
+ - name: Build
27
+ run: go build ./...
28
29
+ - name: Test
30
+ run: |
31
+ go test -coverprofile=coverage.out $(go list ./... | grep -v /tests/e2e)
32
+ go tool cover -func=coverage.out
0 commit comments