File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1111
1212 steps :
1313 - uses : actions/checkout@main
14+ - name : Restore dependencies
15+ id : cache-dependencies
16+ uses : actions/cache/restore@main
17+ with :
18+ path : |
19+ /home/runner
20+ /usr/share/miniconda/envs/hiperseis
21+ key : anaconda-1
1422 - name : Setting up environment
23+ if : steps.cache-dependencies.outputs.cache-hit != 'true'
1524 run : |
1625 wget -q https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh -O anaconda.sh
1726 bash anaconda.sh -b -p $HOME/anaconda3 > /dev/null 2>&1
2130 sudo apt-get install openmpi-bin libopenmpi-dev
2231 sudo apt-get install libhdf5-dev
2332 - name : Install dependencies
33+ if : steps.cache-dependencies.outputs.cache-hit != 'true'
2434 run : |
2535 git submodule update --init --recursive
2636 source setup_scripts/conda_env_linux.sh hiperseis
3343 path : |
3444 /home/runner/work/hiperseis
3545 /usr/share/miniconda/envs/hiperseis
36- - name : Restore dependencies
37- id : cache-dependencies
38- uses : actions/cache/restore@main
39- with :
40- path : |
41- /home/runner
42- /usr/share/miniconda/envs/hiperseis
43- key : anaconda
4446 - name : Running pytest
4547 shell : bash -el {0}
4648 run : |
You can’t perform that action at this time.
0 commit comments