Skip to content

Commit

Permalink
test: workaround go 1.10 test caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mreiferson committed Mar 18, 2018
1 parent ddc6044 commit a3cf659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -e

GOMAXPROCS=1 go test -timeout 90s $(go list ./... | grep -v /vendor/)
GOMAXPROCS=4 go test -timeout 90s -race $(go list ./... | grep -v /vendor/)
GOMAXPROCS=1 go test -count 1 -timeout 90s $(go list ./... | grep -v /vendor/)
GOMAXPROCS=4 go test -count 1 -timeout 90s -race $(go list ./... | grep -v /vendor/)

# no tests, but a build is something
for dir in apps/*/ bench/*/; do
Expand Down

0 comments on commit a3cf659

Please sign in to comment.