From 73f6d4031095b72ca9fc6690dabe30e9a693b665 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 17 Dec 2024 17:39:50 +0000 Subject: [PATCH] don't run coverage on debug/x86_64 tests --- .github/actions/run-python-test-set/action.yml | 2 +- .github/workflows/_build-and-test-locally.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run-python-test-set/action.yml b/.github/actions/run-python-test-set/action.yml index 9a0261d430..3f04f00fd9 100644 --- a/.github/actions/run-python-test-set/action.yml +++ b/.github/actions/run-python-test-set/action.yml @@ -169,7 +169,7 @@ runs: fi if [[ $BUILD_TYPE == "debug" && $RUNNER_ARCH == 'X64' ]]; then - cov_prefix=(scripts/coverage "--profraw-prefix=$GITHUB_JOB" --dir=/tmp/coverage run) + cov_prefix=() else cov_prefix=() fi diff --git a/.github/workflows/_build-and-test-locally.yml b/.github/workflows/_build-and-test-locally.yml index 4263bacce8..5ecac6b98e 100644 --- a/.github/workflows/_build-and-test-locally.yml +++ b/.github/workflows/_build-and-test-locally.yml @@ -90,7 +90,7 @@ jobs: run: | CARGO_FEATURES="--features testing" if [[ $BUILD_TYPE == "debug" && $ARCH == 'x64' ]]; then - cov_prefix="scripts/coverage --profraw-prefix=$GITHUB_JOB --dir=/tmp/coverage run" + cov_prefix="" CARGO_FLAGS="--locked" elif [[ $BUILD_TYPE == "debug" ]]; then cov_prefix=""