- To execute tests just run
make test
, do not set any environment variables for them, one of tests is to check default environment. - To check all sources using multiple go tools (like fmt, lint, imports, vet, goconst, usedexports), run
make check
. - To check Travis CI payloads use
PG_PASS=pwd GET=1 ./devel/webhook.sh
and then./devel/test_webhook.sh
. - To check annotations run:
PG_PASS=pwd PG_DB=dbtest GHA2DB_PROJECT=kubernetes GHA2DB_LOCAL=1 go test series_test.go -run TestProcessAnnotations
. - Continuous deployment instructions are here.
- To testDB/metrics:
PG_DB=dbtest PG_PASS=... make dbtest
.