Skip to content

Commit

Permalink
the cached section has to come before the install of Rocoto because i…
Browse files Browse the repository at this point in the history
…t also servese as the restore set
  • Loading branch information
TerryMcGuinness-NOAA committed May 13, 2024
1 parent 4ed0fa6 commit 7282787
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
# If you have a requirements.txt file, you can install all dependencies using:
# pip install -r requirements.txt
- name: Cache Rocoto
uses: actions/cache@v4
with:
path: ~/rocoto
key: ${{ runner.os }}-rocoto-${{ hashFiles('**/ci-unit_tests.yaml') }}

- name: Install Rocoto
run: |
if [ ! -d "$HOME/rocoto/bin" ]; then
Expand All @@ -37,12 +43,6 @@ jobs:
fi
echo "$HOME/rocoto/bin" >> $GITHUB_PATH
- name: Cache Rocoto
uses: actions/cache@v4
with:
path: ~/rocoto
key: ${{ runner.os }}-rocoto-${{ hashFiles('**/ci-unit_tests.yaml') }}

- name: Run tests
run: |
cd $GITHUB_WORKSPACE/ci/scripts/tests
Expand Down

0 comments on commit 7282787

Please sign in to comment.