cover to ci

This commit is contained in:
Boshi Lian 2022-04-04 06:34:01 +00:00
parent 248ec57578
commit 12b793953e
2 changed files with 1 additions and 9 deletions

View file

@ -44,7 +44,7 @@ jobs:
working-directory: sshpiperd
- name: Test
run: go test -v .
run: go test -v -race -cover ./...
working-directory: sshpiperd
- name: create release

View file

@ -1,8 +0,0 @@
#!/bin/bash
set -e
for pkg in $(go list ./...); do
go test -cover $pkg;
done