From 6e127c0d82e424dcb70c0eb3fe1dba1d852dec4c Mon Sep 17 00:00:00 2001 From: Akihiko Kuroda Date: Wed, 12 Feb 2025 16:13:54 -0500 Subject: [PATCH] feat(tests): fix ci test failures caused by the restructure Signed-off-by: Akihiko Kuroda --- .github/workflows/maestro_check-schema.yaml | 4 ++-- .github/workflows/maestro_demotest.yaml | 4 ++-- .github/workflows/maestro_pytest.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maestro_check-schema.yaml b/.github/workflows/maestro_check-schema.yaml index ce466c3..d46f7d0 100644 --- a/.github/workflows/maestro_check-schema.yaml +++ b/.github/workflows/maestro_check-schema.yaml @@ -27,10 +27,10 @@ jobs: poetry self add poetry-plugin-shell - name: Install dependencies run: | - cd maestro + cd src poetry install - name: Check schema # Run from root to capture all projects - but poetry needs to run in maestro to pick up environment above run: | - cd maestro + cd src poetry run tools/check-schemas.sh diff --git a/.github/workflows/maestro_demotest.yaml b/.github/workflows/maestro_demotest.yaml index cc08224..2e76141 100644 --- a/.github/workflows/maestro_demotest.yaml +++ b/.github/workflows/maestro_demotest.yaml @@ -28,7 +28,7 @@ jobs: poetry self add poetry-plugin-shell - name: Install dependencies run: | - cd maestro + cd src poetry install - name: Install Ollama uses: pydantic/ollama-action@v3 @@ -38,7 +38,7 @@ jobs: # TODO: generalise for other demos - name: Run CrewAI workflow run: | - cd maestro + cd src poetry run demos/demos/activity-planner-crewai.ai/run.py # TODO: Add a way to check the output of the demo env: diff --git a/.github/workflows/maestro_pytest.yaml b/.github/workflows/maestro_pytest.yaml index 6580195..d70394f 100644 --- a/.github/workflows/maestro_pytest.yaml +++ b/.github/workflows/maestro_pytest.yaml @@ -27,10 +27,10 @@ jobs: poetry self add poetry-plugin-shell - name: Install dependencies run: | - cd maestro + cd src poetry install - name: Run unit tests run: | - cd maestro + cd src poetry run pytest