ci: skip building the binary

The tests that require a Consul binary should be skipped by -short, so skip building
the binary in go-test-arm64 to save after 3 minutes.
This commit is contained in:
Daniel Nephin 2022-02-03 18:24:20 -05:00
parent 6616c04e89
commit 0861ebb3dc
1 changed files with 4 additions and 1 deletions

View File

@ -266,8 +266,11 @@ jobs:
sudo rm -rf /usr/local/go
wget https://golang.org/dl/go1.17.5.linux-arm64.tar.gz
sudo tar -C /usr/local -xzvf go1.17.5.linux-arm64.tar.gz
- run: make dev
- run: *install-gotestsum
- run: go mod download
- run:
name: make dev
command: if [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then make dev; fi
- run-go-test-full:
go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi'