Skip to content

Commit 11b0136

Browse files
committed
Customise python venv used for build/test
1 parent f02c0bb commit 11b0136

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

.github/ci-config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ dependencies: |
2020
dependency_branch: develop
2121

2222
parallelism_factor: 8
23+
24+
python_requirements: libs/pyext/test/requirements-test.txt
25+
26+
python_version_overrides:
27+
rocky-8.6: "3.11"

.github/ci-hpc-config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ build:
1212
- -DENABLE_ALL_TESTS=ON
1313
ctest_options:
1414
- -L nightly
15+
requirements: libs/pyext/test/requirements-test.txt
1516

1617
gnu-15.2.0:
1718
build:
@@ -41,6 +42,7 @@ gnu-15.2.0:
4142
ctest_options:
4243
# disable s_http* tests
4344
- -L nightly -E '(s_http)'
45+
requirements: libs/pyext/test/requirements-test.txt
4446

4547
gnu-14.2.0:
4648
build:
@@ -73,6 +75,7 @@ gnu-14.2.0:
7375
ctest_options:
7476
# disable s_http* tests
7577
- -L nightly -E '(s_http)'
78+
requirements: libs/pyext/test/requirements-test.txt
7679

7780
gnu-12.2.0:
7881
build:
@@ -101,6 +104,7 @@ gnu-12.2.0:
101104
ctest_options:
102105
# disable s_http* tests
103106
- -L nightly -E '(s_http)'
107+
requirements: libs/pyext/test/requirements-test.txt
104108

105109
gnu-8.5.0:
106110
build:
@@ -129,6 +133,7 @@ gnu-8.5.0:
129133
ctest_options:
130134
# disable s_http* tests
131135
- -L nightly -E '(s_http)'
136+
requirements: libs/pyext/test/requirements-test.txt
132137

133138
intel-2025.3.1:
134139
build:
@@ -159,6 +164,7 @@ intel-2025.3.1:
159164
ctest_options:
160165
# disable s_http* tests
161166
- -L nightly -E '(s_http)'
167+
requirements: libs/pyext/test/requirements-test.txt
162168

163169
intel-2025.0.1:
164170
build:
@@ -192,6 +198,7 @@ intel-2025.0.1:
192198
ctest_options:
193199
# disable s_http* tests
194200
- -L nightly -E '(s_http)'
201+
requirements: libs/pyext/test/requirements-test.txt
195202

196203
intel-2021.4.0:
197204
build:
@@ -220,6 +227,7 @@ intel-2021.4.0:
220227
# Note: Python 3.10.10-01, provides Pybind11 2.10.3.
221228
ctest_options:
222229
- -L nightly -E '(py3_|s_http)'
230+
requirements: libs/pyext/test/requirements-test.txt
223231

224232
nvidia-24.11:
225233
build:
@@ -252,6 +260,7 @@ nvidia-24.11:
252260
ctest_options:
253261
# disable all tests
254262
- --version
263+
requirements: libs/pyext/test/requirements-test.txt
255264

256265
nvidia-22.11:
257266
build:
@@ -280,6 +289,7 @@ nvidia-22.11:
280289
ctest_options:
281290
# disable all tests
282291
- --version
292+
requirements: libs/pyext/test/requirements-test.txt
283293

284294
aocc-4.0.0:
285295
build:
@@ -308,3 +318,4 @@ aocc-4.0.0:
308318
ctest_options:
309319
# disable all tests
310320
- --version
321+
requirements: libs/pyext/test/requirements-test.txt

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
downstream-ci:
2828
name: downstream-ci
2929
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
30-
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci.yml@main
30+
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci.yml@test-ecflow-py
3131
with:
3232
ecflow: ecmwf/ecflow@${{ github.event.pull_request.head.sha || github.sha }}
3333
skip_matrix_jobs: |
@@ -49,7 +49,7 @@ jobs:
4949
downstream-ci-hpc:
5050
name: downstream-ci-hpc
5151
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
52-
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
52+
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci-hpc.yml@test-ecflow-py
5353
with:
5454
ecflow: ecmwf/ecflow@${{ github.event.pull_request.head.sha || github.sha }}
5555
skip_matrix_jobs: |

0 commit comments

Comments
 (0)