enable circleci go tests for forks and reorganize jobs (#6191)

pull/6198/head
Alvin Huang 2019-07-22 18:08:54 -04:00 committed by GitHub
parent 6fba0106a3
commit 7c1f98e9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 13 deletions

View File

@ -437,28 +437,26 @@ jobs:
workflows:
version: 2
build-distros:
go-tests:
jobs:
- lint-consul-retry
- go-fmt-and-vet:
- go-fmt-and-vet
- dev-build:
requires:
- lint-consul-retry
- build-386: &require-go-fmt-vet
requires:
- go-fmt-and-vet
- build-amd64: *require-go-fmt-vet
- build-arm-arm64: *require-go-fmt-vet
test-integrations:
jobs:
- dev-build
- go-test: &go-test
requires:
- dev-build
filters:
branches:
ignore:
- /^pull\/.*$/ # only run go tests on non forks
- go-test-api: *go-test
build-distros:
jobs:
- build-386
- build-amd64
- build-arm-arm64
test-integrations:
jobs:
- dev-build
- dev-upload-s3:
requires:
- dev-build