diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index fae751d61..092847b38 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/Makefile b/Makefile index aada2f8eb..7f4c13100 100644 --- a/Makefile +++ b/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 ./...