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 77a13a3 commit d33f106Copy full SHA for d33f106
.github/workflows/coverage.yml
@@ -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.18'
15
+ - name: Run coverage
16
+ run: go test -coverprofile=coverage.out -covermode=count ./...
17
+ - name: Upload coverage to Codecov
18
+ uses: codecov/codecov-action@v2
0 commit comments