mirror of https://github.com/linkerd/linkerd2.git
Use gotestsum in CI unit test workflow (#4342)
Use [gotestsum](https://github.com/gotestyourself/gotestsum) for running unit tests in CI, so we get a summary result at the end, instead of having to scroll up to find failures. Doesn't apply for integration tests, as only failures are shown there, and they're easily visible.
This commit is contained in:
parent
a703b5b1dc
commit
a35ad28e14
|
@ -22,8 +22,9 @@ jobs:
|
|||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
go get gotest.tools/gotestsum@v0.4.2
|
||||
# TODO: validate bin/protoc-go.sh does not dirty the repo
|
||||
go test -cover -race -v -mod=readonly ./...
|
||||
gotestsum -- -cover -race -v -mod=readonly ./...
|
||||
js_unit_tests:
|
||||
name: JS unit tests
|
||||
runs-on: ubuntu-18.04
|
||||
|
|
Loading…
Reference in New Issue