@@ -39,13 +39,10 @@ jobs:
3939 name : ${{ matrix.label }}
4040 runs-on : ${{ matrix.os }}
4141 steps :
42- - uses : actions/checkout@v4
43-
44- - name : Build C
45- run : make -C qstack/regression/lib/
42+ - uses : actions/checkout@v5
4643
4744 - name : Setup Miniforge
48- uses : conda-incubator/setup-miniconda@v2
45+ uses : conda-incubator/setup-miniconda@v3
4946 with :
5047 miniforge-version : latest
5148 activate-environment : my-env
@@ -64,15 +61,24 @@ jobs:
6461 run : conda env update -n my-env -f environment.yml
6562 if : steps.cache.outputs.cache-hit != 'true'
6663
64+ - name : Build C
65+ run : make -C qstack/regression/lib/
66+
6767 - name : Run tests
6868 shell : bash -l {0}
6969 run : pytest ./tests
7070
7171
7272 # maybe split back into two workflows depending on each other
73+
7374 build-docs :
75+
7476 needs : build
7577
78+ defaults :
79+ run :
80+ shell : bash -el {0}
81+
7682 strategy :
7783 matrix :
7884 include :
@@ -83,10 +89,10 @@ jobs:
8389 name : ${{ matrix.label }}
8490 runs-on : ${{ matrix.os }}
8591 steps :
86- - uses : actions/checkout@v4
92+ - uses : actions/checkout@v5
8793
8894 - name : Setup Miniforge
89- uses : conda-incubator/setup-miniconda@v2
95+ uses : conda-incubator/setup-miniconda@v3
9096 with :
9197 miniforge-version : latest
9298 activate-environment : my-env
@@ -112,15 +118,12 @@ jobs:
112118
113119 - name : Install documentation requirements
114120 if : steps.cache-doc.outputs.cache-hit != 'true'
115- shell : bash -l {0}
116121 run : pip install -r docs/requirements.txt
117122
118123 - name : Build documentation src
119- shell : bash -l {0}
120124 run : make build-src -C docs/
121125
122126 - name : Build HTML
123- shell : bash -l {0}
124127 run : make html -C docs/
125128
126129 - name : Upload artifacts
0 commit comments