jupyterlab / jupyterlab-demo

Demonstrations of JupyterLab
https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab
Other
186 stars 240 forks source link

Switch to GitHub Actions #106

Closed jtpio closed 1 year ago

jtpio commented 3 years ago

And drop Travis on CI.

jasongrout commented 3 years ago

Just curious: do we have a snippet for caching conda/mamba packages using the cache action?

jasongrout commented 3 years ago

Just curious: do we have a snippet for caching conda/mamba packages using the cache action?

Ah, looks like the relevant info is at https://github.com/conda-incubator/setup-miniconda#caching

bollwyvl commented 3 years ago

Ehm... it kinda works. Conda does funky things with hardlinks, etc. that can get crazy. It's certainly been better with actions/cache@v2.

I did outline a slightly-over-the-top method here: https://github.com/conda-incubator/setup-miniconda/issues/155#issuecomment-805226712

bollwyvl commented 3 years ago

The shell thing is in the IMPORTANT note.

easiest thing on a linux-only build is a top-level:

defaults:
  run:
    shell: bash -l {0}