Skip to content

Commit

Permalink
Update GHA to create expected share dir
Browse files Browse the repository at this point in the history
  • Loading branch information
trey-stafford committed Sep 23, 2024
1 parent d082ae3 commit a4f3c2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
ref: "main"
path: "pm_tb_data"

# Our code expects `/share/apps/G02202_V5` to exist already, and raises an
# error if it does not. This would be a sign, on NSIDC infrastructure,
# that NFS mounts are not setup correctly. For CI, we can just create
# those dirs:
- name: "Make share dir"
run: "sudo mkdir -p /share/apps/G02202_V5 && sudo chown -R runner:runner /share/"

# Unit tests
- name: "Run typecheck and tests"
run: "PYTHONPATH=/home/runner/work/seaice_ecdr/seaice_ecdr/:/home/runner/work/seaice_ecdr/seaice_ecdr/pm_icecon/:/home/runner/work/seaice_ecdr/seaice_ecdr/pm_tb_data/ DISABLE_FILE_LOGGING=TRUE invoke test.ci"

0 comments on commit a4f3c2d

Please sign in to comment.