@@ -23,13 +23,15 @@ jobs:
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- uses : actions/checkout@v4
26
+ - name : Conda config
27
+ run : echo -e "channels:\n - conda-forge\n" > .condarc
26
28
- name : Setup Mambaforge
27
29
uses : conda-incubator/setup-miniconda@v3
28
30
with :
29
- auto-update-conda : true
30
31
python-version : " 3.12"
32
+ miniforge-version : latest
33
+ condarc-file : .condarc
31
34
environment-file : binder/environment.yml
32
- auto-activate-base : false
33
35
- name : Pip check
34
36
shell : bash -l {0}
35
37
run : |
@@ -40,12 +42,14 @@ jobs:
40
42
runs-on : ubuntu-22.04
41
43
steps :
42
44
- uses : actions/checkout@v4
45
+ - name : Conda config
46
+ run : echo -e "channels:\n - conda-forge\n" > .condarc
43
47
- uses : conda-incubator/setup-miniconda@v3
44
48
with :
45
- auto-update-conda : true
46
49
python-version : " 3.12"
50
+ miniforge-version : latest
51
+ condarc-file : .condarc
47
52
environment-file : binder/environment.yml
48
- auto-activate-base : false
49
53
- name : Installation and setup
50
54
shell : bash -l {0}
51
55
run : |
@@ -74,13 +78,15 @@ jobs:
74
78
- uses : actions/checkout@v4
75
79
- name : Setup environment
76
80
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
78
84
- uses : conda-incubator/setup-miniconda@v3
79
85
with :
80
- auto-update-conda : true
81
86
python-version : " 3.12"
87
+ miniforge-version : latest
88
+ condarc-file : .condarc
82
89
environment-file : binder/environment.yml
83
- auto-activate-base : false
84
90
- name : Installation and setup
85
91
shell : bash -l {0}
86
92
run : |
@@ -103,12 +109,14 @@ jobs:
103
109
runs-on : ubuntu-latest
104
110
steps :
105
111
- uses : actions/checkout@v4
112
+ - name : Conda config
113
+ run : echo -e "channels:\n - conda-forge\n" > .condarc
106
114
- uses : conda-incubator/setup-miniconda@v3
107
115
with :
108
- auto-update-conda : true
109
116
python-version : " 3.12"
117
+ miniforge-version : latest
118
+ condarc-file : .condarc
110
119
environment-file : binder/environment.yml
111
- auto-activate-base : false
112
120
- name : Installation and setup
113
121
shell : bash -l {0}
114
122
run : |
@@ -127,19 +135,21 @@ jobs:
127
135
documentation :
128
136
runs-on : ubuntu-latest
129
137
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