mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
dont cache deps
This commit is contained in:
2
.github/workflows/build-uv-cache.yml
vendored
2
.github/workflows/build-uv-cache.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Install dependencies and populate cache
|
- name: Install dependencies and populate cache
|
||||||
run: |
|
run: |
|
||||||
echo "Building global UV cache for Python ${{ matrix.python-version }}..."
|
echo "Building global UV cache for Python ${{ matrix.python-version }}..."
|
||||||
uv sync --all-groups --all-extras --no-install-project
|
uv sync --all-groups --all-extras
|
||||||
echo "Cache populated successfully"
|
echo "Cache populated successfully"
|
||||||
|
|
||||||
- name: Save uv caches
|
- name: Save uv caches
|
||||||
|
|||||||
50
.github/workflows/tests.yml
vendored
50
.github/workflows/tests.yml
vendored
@@ -25,17 +25,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history for proper diff
|
fetch-depth: 0 # Fetch all history for proper diff
|
||||||
|
|
||||||
- name: Restore global uv cache
|
# - name: Restore global uv cache
|
||||||
id: cache-restore
|
# id: cache-restore
|
||||||
uses: actions/cache/restore@v4
|
# uses: actions/cache/restore@v4
|
||||||
with:
|
# with:
|
||||||
path: |
|
# path: |
|
||||||
~/.cache/uv
|
# ~/.cache/uv
|
||||||
~/.local/share/uv
|
# ~/.local/share/uv
|
||||||
.venv
|
# .venv
|
||||||
key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
# key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
uv-main-py${{ matrix.python-version }}-
|
# uv-main-py${{ matrix.python-version }}-
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
@@ -47,11 +47,11 @@ jobs:
|
|||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --all-packages --all-extras
|
run: uv sync --all-packages --all-extras
|
||||||
|
|
||||||
- name: Restore test durations
|
# - name: Restore test durations
|
||||||
uses: actions/cache/restore@v4
|
# uses: actions/cache/restore@v4
|
||||||
with:
|
# with:
|
||||||
path: .test_durations_py*
|
# path: .test_durations_py*
|
||||||
key: test-durations-py${{ matrix.python-version }}
|
# key: test-durations-py${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Run tests (group ${{ matrix.group }} of 8)
|
- name: Run tests (group ${{ matrix.group }} of 8)
|
||||||
run: |
|
run: |
|
||||||
@@ -87,12 +87,12 @@ jobs:
|
|||||||
--maxfail=3 \
|
--maxfail=3 \
|
||||||
-m "not requires_local_services"
|
-m "not requires_local_services"
|
||||||
|
|
||||||
- name: Save uv caches
|
# - name: Save uv caches
|
||||||
if: steps.cache-restore.outputs.cache-hit != 'true'
|
# if: steps.cache-restore.outputs.cache-hit != 'true'
|
||||||
uses: actions/cache/save@v4
|
# uses: actions/cache/save@v4
|
||||||
with:
|
# with:
|
||||||
path: |
|
# path: |
|
||||||
~/.cache/uv
|
# ~/.cache/uv
|
||||||
~/.local/share/uv
|
# ~/.local/share/uv
|
||||||
.venv
|
# .venv
|
||||||
key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
# key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user