Skip to content

Commit b63ffc2

Browse files
committed
ensure cache dir exists before cache action runs
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent 478e9a4 commit b63ffc2

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/unit-tests-framework.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
- name: Show output
4848
run: |
4949
echo '${{ toJSON(steps.changed-files.outputs) }}'
50-
shell:
51-
bash
52-
50+
shell: bash
5351

5452
pre-commit:
5553
runs-on: ubuntu-latest
@@ -152,7 +150,6 @@ jobs:
152150
type=registry,ref=svcbionemo023/bionemo-build-cache:main
153151
cache-to: ${{ steps.cache.outputs.cache-to }}
154152

155-
156153
run-tests:
157154
needs:
158155
- build-bionemo-image
@@ -167,6 +164,9 @@ jobs:
167164
- name: Checkout repository
168165
uses: actions/checkout@v4
169166

167+
- name: Ensure cache directory exists
168+
run: mkdir -p /root/.cache/bionemo
169+
170170
- name: Cache bionemo test data
171171
uses: actions/cache@v4
172172
with:
@@ -226,7 +226,6 @@ jobs:
226226
chmod +x ./ci/scripts/run_pytest_slow.sh
227227
./ci/scripts/run_pytest_slow.sh
228228
229-
230229
run-notebooks-docs:
231230
needs:
232231
- build-bionemo-image

0 commit comments

Comments
 (0)