github.com/rigado/snapd@v2.42.5-go-mod+incompatible/gen-coverage.sh (about)

     1  #!/bin/sh
     2  
     3  set -e
     4  
     5  ./run-checks --unit
     6  
     7  go tool cover -html=.coverage/coverage.out -o .coverage/coverage.html
     8  
     9  echo "Coverage html reports are available in .coverage/coverage.html"