We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f7211a commit 67c5217Copy full SHA for 67c5217
.github/workflows/test.yml
@@ -0,0 +1,28 @@
1
+name: Test
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ name: Test
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Set up Go 1.x
11
+ uses: actions/setup-go@v2
12
+ with:
13
+ go-version: ^1.14
14
+ id: go
15
16
+ - name: Check out code into the Go module directory
17
+ uses: actions/checkout@v2
18
19
+ - name: Build
20
+ run: go build -v .
21
22
+ - name: Test
23
+ run: go test -coverprofile=coverage.out -covermode=atomic -v .
24
25
+ - name: Upload coverage report
26
+ uses: codecov/codecov-action@v1
27
28
+ file: ./coverage.out
.travis.yml
0 commit comments