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:
Denis Bilenko 2024-12-20 10:08:44 +01:00
parent 2fee243586
commit 5cb37d03cf
1 changed files with 1 additions and 1 deletions

View File

@ -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 ..."