@@ -100,6 +100,9 @@ jobs:
100100 python -m pip install --upgrade pip
101101 conda env update --file install/gen_deps_environment.yml
102102
103+ - name : Install ax-platform
104+ if : matrix.python-version != '3.12'
105+ run : |
103106 pip install ax-platform==0.2.8
104107
105108 - name : Install surmise
@@ -108,7 +111,7 @@ jobs:
108111 pip install --upgrade git+https://github.com/bandframework/surmise.git@develop
109112
110113 - name : Build ytopt and dependencies
111- if : matrix.python-version ! = '3.11 ' && matrix.os != 'macos-latest'
114+ if : matrix.python-version < = '3.10 ' && matrix.os != 'macos-latest'
112115 run : |
113116 pip install scikit-learn==1.1.2
114117 pip install pandas==1.5.3
@@ -128,9 +131,8 @@ jobs:
128131 cd ..
129132
130133 - name : Install generator dependencies for Ubuntu tests
131- if : matrix.os == 'ubuntu-latest' && steps.cache.outputs.cache-hit != 'true'
134+ if : matrix.os == 'ubuntu-latest' && steps.cache.outputs.cache-hit != 'true' && matrix.python-version != '3.12'
132135 run : |
133- conda install octave
134136 sudo apt-get install bc
135137
136138 # begin heffte build and dependencies
@@ -149,16 +151,17 @@ jobs:
149151 # pip install git+https://github.com/dragonfly/dragonfly.git
150152 pip install git+https://github.com/jlnav/dragonfly.git@fix/remove_npobject
151153
152- pip install scikit-build packaging Tasmanian --user
153154
154155 - name : Copy heffte exe on cache-hit
155- if : matrix.os == 'ubuntu-latest' && steps.cache.outputs.cache-hit != 'false'
156+ if : matrix.os == 'ubuntu-latest' && steps.cache.outputs.cache-hit != 'false' && matrix.python-version != '3.12'
156157 run : |
157158 cd /home/runner/work/libensemble/libensemble
158159 cp ./heffte/build/benchmarks/speed3d_c2c ./libensemble/tests/regression_tests/
159160
160161 - name : Install other testing dependencies
161162 run : |
163+ conda install octave
164+ pip install scikit-build packaging Tasmanian --user
162165 conda install pyzmq
163166 pip install -r install/testing_requirements.txt
164167 pip install -r install/misc_feature_requirements.txt
@@ -184,22 +187,25 @@ jobs:
184187 pip install -e .
185188 flake8 libensemble
186189
187- - name : Remove ytopt-heffte test on Python 3.11 (easy way)
188- if : matrix.python-version = = '3.11'
190+ - name : Remove various tests on newer pythons
191+ if : matrix.python-version > = '3.11'
189192 run : |
193+ rm ./libensemble/tests/regression_tests/test_heffte.py
190194 rm ./libensemble/tests/regression_tests/test_ytopt_heffte.py
195+ rm ./libensemble/tests/regression_tests/test_persistent_gp.py
196+ rm ./libensemble/tests/regression_tests/test_persistent_gp_multitask_ax.py
191197
192198 - name : Run extensive tests, Ubuntu
193199 if : matrix.os == 'ubuntu-latest'
194200 run : |
195- ./libensemble/tests/run-tests.sh -e -A "-W error" - z -${{ matrix.comms-type }}
201+ ./libensemble/tests/run-tests.sh -e -z -${{ matrix.comms-type }}
196202
197203 - name : Run extensive tests, macOS
198204 if : matrix.os == 'macos-latest'
199205 env :
200206 CONDA_BUILD_SYSROOT : /Users/runner/work/libensemble/sdk/MacOSX10.15.sdk
201207 run : |
202- ./libensemble/tests/run-tests.sh -e -A "-W error" - z -${{ matrix.comms-type }}
208+ ./libensemble/tests/run-tests.sh -e -z -${{ matrix.comms-type }}
203209
204210 - name : Merge coverage
205211 run : |
0 commit comments