Skip to content

Commit

Permalink
fix: download dependencies before downloading soil data
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed May 9, 2024
1 parent ad3d0ab commit dde16e3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,17 @@ jobs:
key: ${{ runner.os }}-data-${{ hashFiles('Data/*') }}
restore-keys: ${{ runner.os }}-data-

- name: Download data
- name: Setup Python
if: ${{ hashFiles('Data/*') == '' }}
run: make download-soil-data
uses: actions/setup-python@v5
with:
python-version: "3.12.3"

- name: Install Python dependencies and download data
if: ${{ hashFiles('Data/*') == '' }}
run: |
make install-dev
make download-soil-data
- name: Run tests using built Docker image
run: make test-ci DC_ENV=ci

0 comments on commit dde16e3

Please sign in to comment.