mirror of https://github.com/databricks/cli.git
Clear env vars when running 'make test'
Some tests are sensible to DATABRICKS_HOST and DATABRICKS_TOKEN and fail if they are set.
This commit is contained in:
parent
2fee243586
commit
5cb37d03cf
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ test: lint testonly
|
|||
|
||||
testonly:
|
||||
@echo "✓ Running tests ..."
|
||||
@gotestsum --format pkgname-and-test-fails --no-summary=skipped --raw-command go test -v -json -short -coverprofile=coverage.txt ./...
|
||||
@DATABRICKS_HOST= DATABRICKS_TOKEN= gotestsum --format pkgname-and-test-fails --no-summary=skipped --raw-command go test -v -json -short -coverprofile=coverage.txt ./...
|
||||
|
||||
coverage: test
|
||||
@echo "✓ Opening coverage for unit tests ..."
|
||||
|
|
Loading…
Reference in New Issue