Skip to content

Commit 68c1d6f

Browse files
committed
adding ollama and tests
1 parent 45c34bb commit 68c1d6f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/quality.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Verify Code Quality & Security
1+
name: Verify Code Quality
22

33
on:
44
push:
@@ -36,4 +36,14 @@ jobs:
3636
run: pre-commit run --all-files
3737
- name: Send failure message
3838
if: failure() # This step will only run if a previous step failed
39-
run: echo "The quality & security verification failed."
39+
run: echo "The quality verification failed. Please run precommit "
40+
41+
- name: Install Ollama
42+
run: curl -fsSL https://ollama.com/install.sh | sh
43+
- name: Pull granite3.3:8b model
44+
run: ollama pull granite3.3:8b
45+
- name: Start serving the model
46+
run: nohup ollama serve --model granite3.3:8b
47+
- name: Run Tests
48+
run: uv run pytest test
49+

0 commit comments

Comments
 (0)