@@ -23,13 +23,15 @@ jobs:
2323 runs-on : ubuntu-latest
2424 steps :
2525 - uses : actions/checkout@v4
26+ - name : Conda config
27+ run : echo -e "channels:\n - conda-forge\n" > .condarc
2628 - name : Setup Mambaforge
2729 uses : conda-incubator/setup-miniconda@v3
2830 with :
29- auto-update-conda : true
3031 python-version : " 3.12"
32+ miniforge-version : latest
33+ condarc-file : .condarc
3134 environment-file : binder/environment.yml
32- auto-activate-base : false
3335 - name : Pip check
3436 shell : bash -l {0}
3537 run : |
@@ -40,12 +42,14 @@ jobs:
4042 runs-on : ubuntu-22.04
4143 steps :
4244 - uses : actions/checkout@v4
45+ - name : Conda config
46+ run : echo -e "channels:\n - conda-forge\n" > .condarc
4347 - uses : conda-incubator/setup-miniconda@v3
4448 with :
45- auto-update-conda : true
4649 python-version : " 3.12"
50+ miniforge-version : latest
51+ condarc-file : .condarc
4752 environment-file : binder/environment.yml
48- auto-activate-base : false
4953 - name : Installation and setup
5054 shell : bash -l {0}
5155 run : |
@@ -74,13 +78,15 @@ jobs:
7478 - uses : actions/checkout@v4
7579 - name : Setup environment
7680 shell : bash -l {0}
77- run : tail --lines=+4 example_workflows/quantum_espresso/environment.yml >> binder/environment.yml
81+ run : |
82+ echo -e "channels:\n - conda-forge\n" > .condarc
83+ tail --lines=+4 example_workflows/quantum_espresso/environment.yml >> binder/environment.yml
7884 - uses : conda-incubator/setup-miniconda@v3
7985 with :
80- auto-update-conda : true
8186 python-version : " 3.12"
87+ miniforge-version : latest
88+ condarc-file : .condarc
8289 environment-file : binder/environment.yml
83- auto-activate-base : false
8490 - name : Installation and setup
8591 shell : bash -l {0}
8692 run : |
@@ -103,12 +109,14 @@ jobs:
103109 runs-on : ubuntu-latest
104110 steps :
105111 - uses : actions/checkout@v4
112+ - name : Conda config
113+ run : echo -e "channels:\n - conda-forge\n" > .condarc
106114 - uses : conda-incubator/setup-miniconda@v3
107115 with :
108- auto-update-conda : true
109116 python-version : " 3.12"
117+ miniforge-version : latest
118+ condarc-file : .condarc
110119 environment-file : binder/environment.yml
111- auto-activate-base : false
112120 - name : Installation and setup
113121 shell : bash -l {0}
114122 run : |
@@ -127,19 +135,21 @@ jobs:
127135 documentation :
128136 runs-on : ubuntu-latest
129137 steps :
130- - uses : actions/checkout@v4
131- - uses : conda-incubator/setup-miniconda@v3
132- with :
133- auto-update-conda : true
134- python-version : " 3.12"
135- environment-file : documentation/environment.yml
136- auto-activate-base : false
137- - name : Install Jupyterbook
138- shell : bash -l {0}
139- run : |
140- cp documentation/_config.yml .
141- cp documentation/_toc.yml .
142- cp documentation/*.md .
143- jupyter-book build . --path-output public
144- mv public/_build/html public_html
145- touch public_html/.nojekyll
138+ - uses : actions/checkout@v4
139+ - name : Conda config
140+ run : echo -e "channels:\n - conda-forge\n" > .condarc
141+ - uses : conda-incubator/setup-miniconda@v3
142+ with :
143+ python-version : " 3.12"
144+ miniforge-version : latest
145+ condarc-file : .condarc
146+ environment-file : documentation/environment.yml
147+ - name : Install Jupyterbook
148+ shell : bash -l {0}
149+ run : |
150+ cp documentation/_config.yml .
151+ cp documentation/_toc.yml .
152+ cp documentation/*.md .
153+ jupyter-book build . --path-output public
154+ mv public/_build/html public_html
155+ touch public_html/.nojekyll
0 commit comments