Skip to content

Commit

Permalink
fix(ci) Disable parallel tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
  • Loading branch information
holyhope committed Feb 12, 2021
1 parent ef7dcf5 commit 3daf943
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- uses: actions/checkout@v2
- name: go tests
run: |
make go-test
GO_TEST_OPTS='-p 1 -vet=off' make go-test
- name: fetch logs
if: ${{ failure() }}
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,16 @@ diff:
git status
git diff --stat --diff-filter=d --exit-code HEAD

GO_TEST_OPTS ?= -vet=off

.PHONY: go-test
go-test: install
ifeq (, $(USE_EXISTING_CLUSTER))
$(warning USE_EXISTING_CLUSTER variable is not defined)
endif
go test -vet=off ./... \
go test \
$(GO_TEST_OPTS) \
./... \
-coverprofile cover.out

.PHONY: release
Expand Down

0 comments on commit 3daf943

Please sign in to comment.