mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 23:20:12 +01:00
fix(ci): add bash tests for lifecycle-hooks to the ci workflow
This commit is contained in:
parent
73f21f7e0f
commit
524bcd8acd
2 changed files with 2 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ jobs:
|
||||||
- run: go get -u github.com/haya14busa/goverage
|
- run: go get -u github.com/haya14busa/goverage
|
||||||
- run: goverage -v -coverprofile=coverage.out ./...
|
- run: goverage -v -coverprofile=coverage.out ./...
|
||||||
- run: godacov -t $CODACY_TOKEN -r ./coverage.out -c $CIRCLE_SHA1
|
- run: godacov -t $CODACY_TOKEN -r ./coverage.out -c $CIRCLE_SHA1
|
||||||
|
- run: ./scripts/lifecycle-tests.sh
|
||||||
build:
|
build:
|
||||||
executor: go
|
executor: go
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ function cleanup {
|
||||||
}
|
}
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
DEFAULT_WATCHTOWER="${GOPATH}/src/github.com/containrrr/watchtower/watchtower"
|
DEFAULT_WATCHTOWER="$(dirname "${BASH_SOURCE[0]}")/../watchtower"
|
||||||
WATCHTOWER=$1
|
WATCHTOWER=$1
|
||||||
WATCHTOWER=${WATCHTOWER:-$DEFAULT_WATCHTOWER}
|
WATCHTOWER=${WATCHTOWER:-$DEFAULT_WATCHTOWER}
|
||||||
echo "watchtower path is $WATCHTOWER"
|
echo "watchtower path is $WATCHTOWER"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue