From dea01fff22d87f9a6d6916ade7e744f0ad70b294 Mon Sep 17 00:00:00 2001 From: Jeffrey Martin Date: Thu, 14 Nov 2024 11:30:01 -0600 Subject: [PATCH] expand check for WARNING & CRITICAL Signed-off-by: Jeffrey Martin --- .github/workflows/remote_package_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote_package_install.yml b/.github/workflows/remote_package_install.yml index 4e2cf4ee..91380b6f 100644 --- a/.github/workflows/remote_package_install.yml +++ b/.github/workflows/remote_package_install.yml @@ -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