File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,18 +84,27 @@ jobs:
8484 shell : bash -l {0}
8585 steps :
8686 - uses : actions/checkout@v2
87+ - name : Cache conda
88+ uses : actions/cache@v2
89+ env :
90+ # Increase this value to reset cache if dev-environment.yml has not changed
91+ CACHE_NUMBER : 0
92+ with :
93+ path : ~/conda_pkgs_dir
94+ key :
95+ ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('dev-environment.yml') }}
8796 - uses : conda-incubator/setup-miniconda@v2
8897 with :
8998 # Create env with dev packages
9099 auto-update-conda : true
91100 python-version : 3.9
101+ miniforge-variant : Mambaforge
92102 environment-file : dev-environment.yml
93103 # Activate scyjava-dev environment
94104 activate-environment : scyjava-dev
95105 auto-activate-base : false
96106 # Use mamba for faster setup
97107 use-mamba : true
98- mamba-version : " *"
99108 - name : Test scyjava
100109 run : |
101110 bin/test.sh --cov-report=xml --cov=.
You can’t perform that action at this time.
0 commit comments