Skip to content

Commit

Permalink
Merge pull request #46 from flatironinstitute/remove-chache-actions
Browse files Browse the repository at this point in the history
Update testing.yml
  • Loading branch information
DSilva27 authored Jul 12, 2024
2 parents 5317c7d + 312d79b commit e423526
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 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

- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
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 e423526

Please sign in to comment.