Skip to content

Commit

Permalink
FIX download and cache the data
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoral committed Dec 2, 2024
1 parent 24a8636 commit aa55dda
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Cache the data
uses: actions/cache@v4
with:
key: data-${{ hashFiles('**/download_data.py') }}
path: ./data

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -39,6 +45,9 @@ jobs:
- name: Install the ramp-kit's dependencies
run: pip install -r requirements.txt

- name: Download data
run: python download_data.py

- name: Ramp test
run: ramp-test

Expand All @@ -62,6 +71,13 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Cache the data
uses: actions/cache@v4
with:
key: data-${{ hashFiles('**/download_data.py') }}
path: ./data

- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -72,5 +88,8 @@ jobs:
pip install seaborn nbconvert[test]
pip install -r requirements.txt
- name: Download data
run: python download_data.py

- name: Check the starting-kit notebook
run: jupyter nbconvert --execute template_starting_kit.ipynb --to html --ExecutePreprocessor.kernel_name=python3

0 comments on commit aa55dda

Please sign in to comment.