This commit is contained in:
Christian Schwarz
2023-04-25 19:15:25 +02:00
parent 865f08012a
commit e4ba83fe3b
2 changed files with 3 additions and 2 deletions

View File

@@ -276,7 +276,7 @@ jobs:
done
# Install test executables and write list of all binaries (for code coverage)
if [[ $MATRIX_BUILD_TYPE == "debug" ]]; then
if [[ $VARIANT == "debug" ]]; then
# Keep bloated coverage data files away from the rest of the artifact
mkdir -p /tmp/coverage/
@@ -301,7 +301,7 @@ jobs:
done
else
if [ "$cov_prefix" != "" ]; then
echo "expecting coverage prefix to be empty for all gh matrix build types except 'debug', got MATRIX_BUILD_TYPE=$MATRIX_BUILD_TYPE"
echo "expecting coverage prefix to be empty for all variants except 'debug', got VARIANT=$VARIANT"
exit 1
fi
fi