File: .build.yml

package info (click to toggle)
golang-sourcehut-rjarry-go-opt 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 148 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
image: alpine/edge
packages:
  - go
sources:
  - https://git.sr.ht/~rjarry/go-opt
artifacts:
  - go-opt/coverage.html
tasks:
  - build: |
      cd go-opt
      go build -v ./...
      go test -v -coverprofile=coverage.txt -covermode=atomic ./...
      go tool cover -html=coverage.txt -o coverage.html