Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Apr 11, 2024
1 parent f897cf3 commit e7ac0ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ jobs:
echo '::error::Output folder does not exist!'
exit 1
fi
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProject2*.${COV_FORMAT}")" = '' ]; then
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProject2*.${COV_FORMAT}")" != '' ]; then
echo '::error::Coverage files for incorrect project found!'
exit 1
fi
if [ "${RUNNER_OS}" = 'macOS' ]; then
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProject1*.${COV_FORMAT}")" == '' ]; then
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProject1*.${COV_FORMAT}")" = '' ]; then
echo '::error::No coverage files found!'
exit 1
fi
elif [ "${RUNNER_OS}" = 'Linux' ]; then
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProjectPackage*.${COV_FORMAT}")" == '' ]; then
if [ "$(find "${INPUT_OUTPUT_FOLDER}" -name "TestProjectPackage*.${COV_FORMAT}")" = '' ]; then
echo '::error::No coverage files found!'
exit 1
fi
Expand Down

0 comments on commit e7ac0ea

Please sign in to comment.