-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/saeyslab/polygloty
- Loading branch information
Showing
8 changed files
with
275 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: main | ||
|
||
name: Test on mac arm | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: macos-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up specific version of Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Install R | ||
uses: r-lib/actions/setup-r@v2 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Make sure data is available | ||
run: | | ||
AWS_EC2_METADATA_DISABLED=true \ | ||
aws s3 cp \ | ||
--no-sign-request \ | ||
s3://openproblems-bio/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad \ | ||
book/usecase/data/sc_counts_reannotated_with_counts.h5ad | ||
# attempt with renv | ||
- name: Set up renv | ||
uses: r-lib/actions/setup-renv@v2 | ||
|
||
- name: Cache certain directories to speed up build | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
book/usecase/data | ||
key: quarto_cache_osx_${{ github.ref_name }} | ||
restore-keys: | | ||
quarto_cache_osx_main | ||
- name: Render book | ||
run: | | ||
Rscript -e "renv::restore()" | ||
source renv/python/virtualenvs/renv-python-3.12/bin/activate | ||
quarto render |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.