chore_: cleanup

This commit is contained in:
Igor Sirotin 2024-08-18 10:03:00 +01:00
parent 913f0e2f3d
commit e5c8a48f0c
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
2 changed files with 1 additions and 9 deletions

View File

@ -375,7 +375,7 @@ test-unit: export UNIT_TEST_PACKAGES ?= $(call sh, go list ./... | grep -E '/wak
grep -E -v '/waku(/.*|$$)' | \
grep -E -v '/wakuv2(/.*|$$)')
test-unit: ##@tests Run unit and integration tests
@time ./_assets/scripts/run_unit_tests.sh
./_assets/scripts/run_unit_tests.sh
test-unit-race: export GOTEST_EXTRAFLAGS=-race
test-unit-race: test-unit ##@tests Run unit and integration tests with -race flag

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -eu
coverage_file_path="$(mktemp coverage.out.rerun.XXXXXXXXXX --tmpdir="${PACKAGE_DIR}")"
go test -json \
-covermode=atomic \
-coverprofile="${coverage_file_path}" \
-coverpkg ./... \
"$@"