File tree Expand file tree Collapse file tree 5 files changed +30
-7
lines changed
actions/install-dependencies Expand file tree Collapse file tree 5 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Install dependencies
2
- description : apt-get dependencies
2
+ description : Install dependencies and setup + activate conda env
3
3
4
4
runs :
5
5
using : composite
@@ -15,11 +15,22 @@ runs:
15
15
sudo apt-get install -y \
16
16
librsvg2-bin \
17
17
ghostscript \
18
- graphviz \
19
18
pkg-config \
20
19
libgraphviz-dev \
21
20
gsfonts \
22
21
libfreetype6-dev \
23
22
libfontconfig1-dev
24
23
# Explanation of some of these dependencies:
25
24
# https://github.com/ImageMagick/ImageMagick/issues/374#issuecomment-279252866
25
+
26
+ - uses : conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169 # v2.1.1
27
+ with :
28
+ channels : conda-forge
29
+ python-version : ${{ matrix.python-version || '' }}
30
+ miniforge-version : latest
31
+
32
+ # use login shell for conda activation
33
+ - shell : bash -leo pipefail {0}
34
+ run : |
35
+ echo "CONDA_PREFIX: ${CONDA_PREFIX}"
36
+ conda install -y graphviz
Original file line number Diff line number Diff line change @@ -57,8 +57,12 @@ concurrency:
57
57
58
58
jobs :
59
59
deploy :
60
- runs-on : ubuntu-18.04
60
+ runs-on : ubuntu-latest
61
61
timeout-minutes : 20
62
+ defaults :
63
+ run :
64
+ # use login shell for conda activation
65
+ shell : bash -leo pipefail {0}
62
66
steps :
63
67
- name : configure python
64
68
uses : actions/setup-python@v4
Original file line number Diff line number Diff line change @@ -31,8 +31,12 @@ concurrency:
31
31
32
32
jobs :
33
33
deploy :
34
- runs-on : ubuntu-18.04
34
+ runs-on : ubuntu-latest
35
35
timeout-minutes : 10
36
+ defaults :
37
+ run :
38
+ # use login shell for conda activation
39
+ shell : bash -leo pipefail {0}
36
40
steps :
37
41
- name : configure python
38
42
uses : actions/setup-python@v4
Original file line number Diff line number Diff line change @@ -25,8 +25,12 @@ concurrency:
25
25
26
26
jobs :
27
27
test :
28
- runs-on : ubuntu-18.04
28
+ runs-on : ubuntu-latest
29
29
timeout-minutes : 10
30
+ defaults :
31
+ run :
32
+ # use login shell for conda activation
33
+ shell : bash -leo pipefail {0}
30
34
steps :
31
35
- name : configure python
32
36
uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 25
25
workflow_dispatch :
26
26
inputs :
27
27
tag :
28
- description : ' Tag present on both cylc-flow and cylc-docs. '
28
+ description : ' Tag present on both cylc-flow and cylc-doc '
29
29
required : true
30
30
31
31
concurrency :
32
32
group : ${{ github.workflow }}-${{ github.ref }}
33
33
34
34
jobs :
35
35
undeploy :
36
- runs-on : ubuntu-18.04
36
+ runs-on : ubuntu-latest
37
37
timeout-minutes : 10
38
38
env :
39
39
TAG : ${{ github.event.inputs.tag }}
You can’t perform that action at this time.
0 commit comments