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 b814bef commit eb574beCopy full SHA for eb574be
.build.yml
@@ -1,19 +1,17 @@
1
image: alpine/edge
2
packages:
3
- go
4
- # Required by codecov
5
- - bash
6
- - findutils
7
sources:
8
- https://github.com/emersion/go-imap
+artifacts:
+ - coverage.html
9
tasks:
10
- build: |
11
cd go-imap
12
- go build -v ./...
+ go build -race -v ./...
13
- test: |
14
15
go test -coverprofile=coverage.txt -covermode=atomic ./...
16
- - upload-coverage: |
+ - coverage: |
17
18
- export CODECOV_TOKEN=8c0f7014-fcfa-4ed9-8972-542eb5958fb3
19
- curl -s https://codecov.io/bash | bash
+ go tool cover -html=coverage.txt -o ~/coverage.html
0 commit comments