mirror of
https://github.com/usestrix/strix.git
synced 2026-10-05 02:41:38 +00:00
ci(package): check for a missing module without a bare negation so shellcheck is happy
This commit is contained in:
parent
265e508d5c
commit
7ce44ef69a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci-package.yml
vendored
4
.github/workflows/ci-package.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue