Clean golang test cache

Signed-off-by: Azanul <azanulhaque@gmail.com>
This commit is contained in:
Azanul 2023-06-05 05:49:03 +05:30
parent 8da2a5bf46
commit b46dc0a1e4
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jobs:
TARGET: ${{ matrix.target }}
run: |
set -euo pipefail
go clean -testcache
echo "${TARGET}"
case "${TARGET}" in

View File

@ -38,6 +38,7 @@ jobs:
ETCD_BRANCH: "${{ inputs.etcdBranch }}"
run: |
set -euo pipefail
go clean -testcache
# Use --failfast to avoid overriding report generated by failed test
GO_TEST_FLAGS="-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run TestRobustness"

View File

@ -27,6 +27,7 @@ jobs:
TARGET: ${{ matrix.target }}
run: |
set -euo pipefail
go clean -testcache
mkdir "${TARGET}"
export JUNIT_REPORT_DIR=$(realpath ${TARGET})