From 7ce44ef69ad9d74e07fe08e5f75752795738fa5b Mon Sep 17 00:00:00 2001 From: Ahmed Allam Date: Sun, 4 Oct 2026 18:38:32 +0000 Subject: [PATCH] ci(package): check for a missing module without a bare negation so shellcheck is happy --- .github/workflows/ci-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-package.yml b/.github/workflows/ci-package.yml index 832b45d5..6673d7a0 100644 --- a/.github/workflows/ci-package.yml +++ b/.github/workflows/ci-package.yml @@ -70,7 +70,7 @@ jobs: mkdir -p /tmp/target && echo 'print("hi")' > /tmp/target/app.py STRIX_LLM=vertex_ai/gemini-2.5-pro dist/strix -n -t /tmp/target --scan-mode quick > vertex.log 2>&1 || true grep -q "DefaultCredentialsError" vertex.log - ! grep -q "No module named" vertex.log + if grep -q "No module named" vertex.log; then exit 1; fi STRIX_LLM=bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0 dist/strix -n -t /tmp/target --scan-mode quick > bedrock.log 2>&1 || true grep -q "Unable to locate credentials" bedrock.log - ! grep -q "No module named" bedrock.log + if grep -q "No module named" bedrock.log; then exit 1; fi