| 1 |
image: alpine/edge |
| 2 |
packages: |
| 3 |
- go |
| 4 |
sources: |
| 5 |
- https://git.sr.ht/~rjarry/go-opt |
| 6 |
artifacts: |
| 7 |
- go-opt/coverage.html |
| 8 |
tasks: |
| 9 |
- build: | |
| 10 |
cd go-opt |
| 11 |
go build -v ./... |
| 12 |
go test -v -coverprofile=coverage.txt -covermode=atomic ./... |
| 13 |
go tool cover -html=coverage.txt -o coverage.html |