From 9efe6705f601c470a74cc936ad988f48de18e7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Silva-S=C3=A1nchez?= <31875788+DSilva27@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:25:23 -0400 Subject: [PATCH] Update testing.yml --- .github/workflows/testing.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 829a237..b101ef3 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -16,21 +16,14 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11"] + steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - - name: Cache dependencies - id: cache_deps - uses: actions/cache@v3 - with: - path: | - ${{ env.pythonLocation }} - key: venv-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }} + cache: 'pip' # caching pip dependencies - name: Cache test data id: cache_test_data @@ -42,7 +35,6 @@ jobs: key: venv-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/tests/scripts/fetch_test_data.sh') }} - name: Install dependencies - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }} run: | python -m pip install --upgrade pip pip install .