Skip to content

Commit 28ab0be

Browse files
committed
Customise python venv used for build/test
1 parent f31f392 commit 28ab0be

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

.github/ci-config.yml

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

2222
parallelism_factor: 8
23+
24+
python_requirements: libs/pyext/test/requirements-test.txt
25+
26+
overrides:
27+
rocky-8.6:
28+
python_version: "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:
@@ -42,6 +43,7 @@ gnu-15.2.0:
4243
ctest_options:
4344
# disable s_http* tests
4445
- -L nightly -E '(s_http)'
46+
requirements: libs/pyext/test/requirements-test.txt
4547

4648
gnu-14.2.0:
4749
build:
@@ -75,6 +77,7 @@ gnu-14.2.0:
7577
ctest_options:
7678
# disable s_http* tests
7779
- -L nightly -E '(s_http)'
80+
requirements: libs/pyext/test/requirements-test.txt
7881

7982
gnu-12.2.0:
8083
build:
@@ -103,6 +106,7 @@ gnu-12.2.0:
103106
ctest_options:
104107
# disable s_http* tests
105108
- -L nightly -E '(s_http)'
109+
requirements: libs/pyext/test/requirements-test.txt
106110

107111
gnu-8.5.0:
108112
build:
@@ -131,6 +135,7 @@ gnu-8.5.0:
131135
ctest_options:
132136
# disable s_http* tests
133137
- -L nightly -E '(s_http)'
138+
requirements: libs/pyext/test/requirements-test.txt
134139

135140
intel-2025.3.1:
136141
build:
@@ -161,6 +166,7 @@ intel-2025.3.1:
161166
ctest_options:
162167
# disable s_http* tests
163168
- -L nightly -E '(s_http)'
169+
requirements: libs/pyext/test/requirements-test.txt
164170

165171
intel-2025.0.1:
166172
build:
@@ -194,6 +200,7 @@ intel-2025.0.1:
194200
ctest_options:
195201
# disable s_http* tests
196202
- -L nightly -E '(s_http)'
203+
requirements: libs/pyext/test/requirements-test.txt
197204

198205
intel-2021.4.0:
199206
build:
@@ -222,6 +229,7 @@ intel-2021.4.0:
222229
# Note: Python 3.10.10-01, provides Pybind11 2.10.3.
223230
ctest_options:
224231
- -L nightly -E '(py3_|s_http)'
232+
requirements: libs/pyext/test/requirements-test.txt
225233

226234
nvidia-24.11:
227235
build:
@@ -254,6 +262,7 @@ nvidia-24.11:
254262
ctest_options:
255263
# disable all tests
256264
- --version
265+
requirements: libs/pyext/test/requirements-test.txt
257266

258267
nvidia-22.11:
259268
build:
@@ -282,6 +291,7 @@ nvidia-22.11:
282291
ctest_options:
283292
# disable all tests
284293
- --version
294+
requirements: libs/pyext/test/requirements-test.txt
285295

286296
aocc-4.0.0:
287297
build:
@@ -310,3 +320,4 @@ aocc-4.0.0:
310320
ctest_options:
311321
# disable all tests
312322
- --version
323+
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)