File tree Expand file tree Collapse file tree 2 files changed +14
-44
lines changed Expand file tree Collapse file tree 2 files changed +14
-44
lines changed Original file line number Diff line number Diff line change 3131 path : ~/.cache/pre-commit
3232 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
3333 - name : Install dependencies
34- run : uv sync --frozen --all-extras
34+ run : uv sync --frozen --all-extras --group dev
3535 - name : Check style and run tests
3636 run : pre-commit run --all-files
37- - name : Send failure message
37+ - name : Send failure message pre-commit
3838 if : failure() # This step will only run if a previous step failed
3939 run : echo "The quality verification failed. Please run precommit "
40+ - name : Install Ollama
41+ run : curl -fsSL https://ollama.com/install.sh | sh
42+ - name : Pull Llama 3.2:1b model
43+ run : ollama pull llama3.2:1b
44+ - name : Start serving the model
45+ run : nohup ollama serve &
46+ - name : Run Tests
47+ run : uv run -m pytest -v test
48+ - name : Send failure message tests
49+ if : failure() # This step will only run if a previous step failed
50+ run : echo "Tests failed. Please verify that tests are working locally."
51+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments