File: test

package info (click to toggle)
golang-github-coreos-vcontext 0.0~git20210903.c22998b-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: sh: 8; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 153 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

export GO111MODULE=on

echo "checking gofmt"
res=$(gofmt -d .)
echo "$res"
test -z "$res"

echo "running tests"
go test ./... -cover