Skip to content

Commit

Permalink
ci: only cache uv
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Nov 19, 2024
1 parent 1b1ca6d commit 52b6f11
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Load cached venv
id: cached-venv
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/uv.lock') }}

- name: Install dependencies
if: steps.cached-venv.outputs.cache-hit != 'true'
run: uv sync --all-extras --dev

- name: Run tests for coverage
Expand Down Expand Up @@ -117,15 +109,7 @@ jobs:
with:
python-version: ${{ env.MINIMUM_PYTHON_VERSION }}

- name: Load cached venv
id: cached-venv
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/uv.lock') }}

- name: Install dependencies
if: steps.cached-venv.outputs.cache-hit != 'true'
run: uv sync --all-extras --dev
#----------------------------------------------
# Run tests and upload coverage
Expand Down

0 comments on commit 52b6f11

Please sign in to comment.