Skip to content

Commit

Permalink
Improve GH warning reporting [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Feb 13, 2025
1 parent 6d2dafc commit 5ead5ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions validation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [[ $TEST_MODE == 'test_aws' ]]; then
echo "AWS batch tests"
bash awsbatch.sh
else
echo "Missing AWS_ACCESS_KEY_ID variable -- Skipping AWS Batch tests"
echo "::warning file=$0,line=$LINENO::Missing AWS_ACCESS_KEY_ID variable -- Skipping AWS Batch tests"
fi
fi

Expand All @@ -82,7 +82,7 @@ if [[ $TEST_MODE == 'test_azure' ]]; then
echo "Azure batch tests"
bash azure.sh
else
echo "Missing AZURE_BATCH_ACCOUNT_KEY variable -- Skipping Azure Batch tests"
echo "::warning file=$0,line=$LINENO::Missing AZURE_BATCH_ACCOUNT_KEY variable -- Skipping Azure Batch tests"
fi
fi

Expand All @@ -94,7 +94,7 @@ if [[ $TEST_MODE == 'test_google' ]]; then
echo "Google Batch tests"
bash google.sh
else
echo "Missing GOOGLE_SECRET variable -- Skipping Google Batch tests"
echo "::warning file=$0,line=$LINENO::Missing GOOGLE_SECRET variable -- Skipping Google Batch tests"
fi
fi

Expand All @@ -106,6 +106,6 @@ if [[ $TEST_MODE == 'test_wave' ]]; then
echo "Wave tests"
bash wave.sh
else
echo "Missing TOWER_ACCESS_TOKEN variable -- Skipping Wave tests"
echo "::warning file=$0,line=$LINENO::Missing TOWER_ACCESS_TOKEN variable -- Skipping Wave tests"
fi
fi

0 comments on commit 5ead5ba

Please sign in to comment.