cover to ci
This commit is contained in:
parent
248ec57578
commit
12b793953e
2 changed files with 1 additions and 9 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
cover.sh
8
cover.sh
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
for pkg in $(go list ./...); do
|
||||
go test -cover $pkg;
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue