mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 07:42:40 +00:00
fix: install package-specific extras for tests
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
enable-cache: false
|
enable-cache: false
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --all-groups --all-extras
|
run: uv sync --all-groups && uv sync --package crewai-core --all-extras
|
||||||
|
|
||||||
- name: Restore test durations
|
- name: Restore test durations
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
|
|||||||
2
.github/workflows/tools-tests.yml
vendored
2
.github/workflows/tools-tests.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
run: uv python install ${{ matrix.python-version }}
|
run: uv python install ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --all-groups --all-extras
|
run: uv sync --all-groups && uv sync --package crewai-tools --all-extras
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv
|
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv
|
||||||
|
|||||||
Reference in New Issue
Block a user