fix: use proper uv sync with dev dependencies and package context

This commit is contained in:
Greyson Lalonde
2025-09-12 23:31:10 -04:00
parent 25f83d7a26
commit 916c217d4b
2 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ jobs:
enable-cache: false
- name: Install the project
run: uv sync --all-groups && uv sync --package crewai-core --all-extras
run: uv sync --all-groups --package crewai-core --all-extras
- name: Restore test durations
uses: actions/cache/restore@v4
@@ -75,7 +75,7 @@ jobs:
# DURATIONS_ARG="--durations-path=${DURATION_FILE}"
# fi
cd packages/crewai && uv run pytest \
uv run --package=crewai-core --directory=packages/crewai pytest \
--block-network \
--timeout=30 \
-vv \

View File

@@ -36,7 +36,7 @@ jobs:
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-groups && uv sync --package crewai-tools --all-extras
run: uv sync --all-groups --package crewai-tools --all-extras
- name: Run tests
run: cd packages/tools && uv run pytest -vv
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv