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 18b02da commit 569bda9Copy full SHA for 569bda9
.github/workflows/workflow.yaml
@@ -0,0 +1,18 @@
1
+name: Test and coverage
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ with:
11
+ fetch-depth: 2
12
+ - uses: actions/setup-go@v2
13
14
+ go-version: '1.19'
15
+ - name: Run coverage
16
+ run: go test -race -coverprofile=coverage.out -covermode=atomic
17
+ - name: Upload coverage to Codecov
18
+ uses: codecov/codecov-action@v3
0 commit comments