Skip to content

Commit

Permalink
expand check for WARNING & CRITICAL
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Nov 14, 2024
1 parent d58d73d commit dea01ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/remote_package_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
python -m garak --model_type test.Blank --probes test.Test
set +e
grep ERROR $HOME/.local/share/garak/garak.log
grep -E "(WARNING|ERROR|CRITICAL)" $HOME/.local/share/garak/garak.log
if [ $? != 1 ]; then
echo "Errors exist in the test log"
exit 1
Expand Down

0 comments on commit dea01ff

Please sign in to comment.