fix(ci): move integration tests to an isolated step

This commit is contained in:
Simon Aronsson 2019-07-26 19:07:35 +02:00
parent 524bcd8acd
commit 877de33e0a

View file

@ -36,9 +36,18 @@ workflows:
only: /.*/
tags:
only: /.*/
- integration_testing:
requires:
- checkout
filters:
branches:
only: /.*/
tags:
only: /.*/
- build:
requires:
- testing
- integration_testing
- linting
filters:
branches:
@ -90,6 +99,13 @@ jobs:
- run: go get -u github.com/haya14busa/goverage
- run: goverage -v -coverprofile=coverage.out ./...
- run: godacov -t $CODACY_TOKEN -r ./coverage.out -c $CIRCLE_SHA1
integration_testing:
executor: go
steps:
- attach_workspace:
at: .
- run: go build .
- setup_remote_docker
- run: ./scripts/lifecycle-tests.sh
build:
executor: go