mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-13 02:44:20 +01:00
fix(ci): move integration tests to an isolated step
This commit is contained in:
parent
524bcd8acd
commit
877de33e0a
1 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue