Skip to content

Commit

Permalink
Update testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DSilva27 authored Jul 12, 2024
1 parent 74726f6 commit 9efe670
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit 9efe670

Please sign in to comment.