mirror of
https://github.com/enix/x509-certificate-exporter.git
synced 2026-08-23 22:16:39 +00:00
chore(ci): run go mod tidy before tests
This commit is contained in:
@@ -56,6 +56,7 @@ test:
|
||||
- export IP=$(docker inspect $CI_PIPELINE_ID-control-plane --format '{{ .NetworkSettings.Networks.kind.Gateway }}')
|
||||
- sed -i -E -e "s/localhost|0\.0\.0\.0/docker/g" "$HOME/.kube/config"
|
||||
- kubectl --insecure-skip-tls-verify cluster-info
|
||||
- go mod tidy
|
||||
script:
|
||||
- go test -v -failfast -timeout 1m -coverprofile=coverage.cov ./internal
|
||||
- go tool cover -html=coverage.cov -o coverage.html
|
||||
|
||||
Reference in New Issue
Block a user