github.com/hugh712/snapd@v0.0.0-20200910133618-1a99902bd583/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"