Clean golang test cache before each arm64 ci test suite.

Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
James Blair
2023-06-01 20:30:48 +12:00
parent 0073fd4225
commit 41446dbad9
3 changed files with 3 additions and 0 deletions

View File

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

View File

@@ -45,6 +45,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

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