mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
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:
parent
01ed9e3c60
commit
6ea0e5d4e9
@ -266,8 +266,11 @@ jobs:
|
|||||||
sudo rm -rf /usr/local/go
|
sudo rm -rf /usr/local/go
|
||||||
wget https://golang.org/dl/go1.17.5.linux-arm64.tar.gz
|
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
|
sudo tar -C /usr/local -xzvf go1.17.5.linux-arm64.tar.gz
|
||||||
- run: make dev
|
|
||||||
- run: *install-gotestsum
|
- 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:
|
- run-go-test-full:
|
||||||
go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi'
|
go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user