Optimize CI job, fixes

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
Víctor Mayoral Vilches 2025-05-08 18:38:08 +02:00
parent 26e286578d
commit 946c4ffa28
1 changed files with 3 additions and 2 deletions

View File

@ -10,12 +10,13 @@
before_script:
- pip3 install -e .
- pip install litellm langchain transformers torch openai tqdm
- for var in $(compgen -e); do
- |
for var in $(compgen -e); do
if [[ $var == CTF_* && -n ${!var} ]]; then
export $var="${!var}"
fi
done
- curl http://localhost:11434/api/tags
- curl $OLLAMA_API_BASE/api/tags # validate that ollama is running
variables:
OLLAMA_API_BASE: "http://localhost:8000"
OPENROUTER_API_BASE: "https://openrouter.ai/api/v1"