Skip to content

Commit

Permalink
adding model file download and cache to test yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spreka committed Nov 8, 2023
1 parent dc70cac commit a7514f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/only_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest pytest-cookies tox
- name: Download model
working-directory: src
run: |
if [[ ! -f napari_annotatorj/models/model_real_weights.h5 ]]; then
wget -q -O models.zip https://github.com/spreka/annotatorj/releases/download/v0.0.2-model/models.zip && unzip models.zip;
fi
- name: Cache
uses: actions/cache@v2
with:
path: |
src/napari_annotatorj/models
key: full-data

# this runs the platform-specific tests declared in tox.ini
#GabrielBB/xvfb-action@v1
#aganders3/headless-gui@v1
Expand Down

0 comments on commit a7514f8

Please sign in to comment.