-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (43 loc) · 1.15 KB
/
maestro_demotest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Maestro Demo Test (ollama only)
on:
push:
branches: [ 'main' ]
paths:
- 'maestro/**'
pull_request:
branches: [ 'main' ]
paths:
- 'maestro/**'
- '.github/workflows/**'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup poetry
run: |
pipx ensurepath
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
pipx install poetry
poetry self add poetry-plugin-shell
- name: Install dependencies
run: |
cd maestro
poetry install
- name: Install Ollama
uses: pydantic/ollama-action@v3
with:
# Small model - 7GB max in this runner
model: llama3.1:latest
# TODO: generalise for other demos
- name: Run CrewAI workflow
run: |
cd maestro
poetry run demos/demos/activity-planner-crewai.ai/run.py
# TODO: Add a way to check the output of the demo
env:
MAESTRO_DEMO_OLLAMA_MODEL: ollama/llama3.2:3b