mirror of https://github.com/databricks/cli.git
do not run linter inside tests
This commit is contained in:
parent
d75fd2b309
commit
eb825169ce
|
@ -52,7 +52,7 @@ jobs:
|
|||
pip3 install wheel
|
||||
|
||||
- name: Run tests
|
||||
run: make test
|
||||
run: make testonly
|
||||
|
||||
- name: Publish test coverage
|
||||
uses: codecov/codecov-action@v4
|
||||
|
|
4
Makefile
4
Makefile
|
@ -10,7 +10,9 @@ lint: vendor
|
|||
@echo "✓ Linting source code with https://golangci-lint.run/ ..."
|
||||
@golangci-lint run ./...
|
||||
|
||||
test: lint
|
||||
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 ./...
|
||||
|
||||
|
|
Loading…
Reference in New Issue