Skip to content

Commit

Permalink
Pull to local directory
Browse files Browse the repository at this point in the history
  • Loading branch information
stefsmeets committed Jul 23, 2024
1 parent d397acb commit 5fe3c70
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,21 @@ jobs:

- name: Setup system
run: |
sudo apt update
sudo apt-get install libnetcdff-dev netcdf-bin gfortran gcc
- name: Get SOCRATES
uses: actions/checkout@v4
with:
repository: 'FormingWorlds/SOCRATES'
path: '~/SOCRATES'
path: 'SOCRATES'

- uses: actions/cache@v3
id: cache-socrates
with:
path: |
~/SOCRATES/bin
~/SOCRATES/sbin
~/SOCRATES/set_rad_env
SOCRATES/bin
SOCRATES/sbin
SOCRATES/set_rad_env
key: socrates-${{ hashFiles('version') }}

- name: Build SOCRATES
Expand Down Expand Up @@ -68,5 +67,5 @@ jobs:
- name: Test with pytest
run: |
export FWL_DATA="./fwl_data"
source ~/SOCRATES/set_rad_env
source SOCRATES/set_rad_env
pytest

0 comments on commit 5fe3c70

Please sign in to comment.