Skip to content

Commit

Permalink
make sure s3 data is fetched beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 3, 2024
1 parent 8260939 commit 1dcc82c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- id: install-aws-cli
- name: Install AWS CLI
uses: unfor19/install-aws-cli-action@v1

- name: Set up specific version of Python
Expand Down Expand Up @@ -59,6 +59,20 @@ jobs:
path: |
_freeze
key: renv_${{ runner.os }}

- name: Cache usecase_data
uses: actions/cache@v2
with:
path: |
notebooks/usecase_data
key: usecase_data_${{ runner.os }}

- name: Make sure data is available
run: |
aws s3 cp \
--no-sign-request \
s3://openproblems-bio/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad \
notebooks/usecase_data/sc_counts_reannotated_with_counts.h5ad
- name: Render slides
run: |
Expand Down
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ book:
chapters:
- index.qmd
- book/intro.qmd
- notebooks/usecase.qmd
- notebooks/file_formats.qmd
- notebooks/in_memory.qmd
- notebooks/workflows.qmd
- notebooks/usecase.qmd
- book/book_slides.qmd
- book/references.qmd

Expand Down

0 comments on commit 1dcc82c

Please sign in to comment.