@@ -17,29 +17,29 @@ jobs:
1717 matrix :
1818 os : [ubuntu-latest]
1919 mpi-version : [mpich]
20- python-version : [3.9, "3.10", "3.11", "3.12"]
21- pydantic-version : ["2.6.4 "]
20+ python-version : [3.9, "3.10", "3.11", "3.12", "3.13" ]
21+ pydantic-version : ["2.8.2 "]
2222 comms-type : [m, l]
2323 include :
2424 - os : macos-latest
2525 python-version : " 3.11"
2626 mpi-version : mpich
27- pydantic-version : " 2.6.4 "
27+ pydantic-version : " 2.8.2 "
2828 comms-type : m
2929 - os : macos-latest
3030 python-version : " 3.11"
3131 mpi-version : mpich
32- pydantic-version : " 2.6.4 "
32+ pydantic-version : " 2.8.2 "
3333 comms-type : l
3434 - os : ubuntu-latest
3535 mpi-version : mpich
3636 python-version : " 3.10"
37- pydantic-version : " 1.10.13 "
37+ pydantic-version : " 1.10.17 "
3838 comms-type : m
3939 - os : ubuntu-latest
4040 mpi-version : mpich
4141 python-version : " 3.10"
42- pydantic-version : " 1.10.13 "
42+ pydantic-version : " 1.10.17 "
4343 comms-type : l
4444
4545 env :
@@ -63,71 +63,37 @@ jobs:
6363 channel-priority : flexible
6464 auto-update-conda : true
6565
66- - uses : actions/cache/restore@v4
67- name : Restore cached dependencies
68- id : cache
69- if : matrix.os == 'ubuntu-latest'
70- with :
71- path : |
72- /home/runner/.local
73- /usr/share/miniconda3/envs/condaenv
74- /usr/share/miniconda3/bin
75- /usr/share/miniconda3/lib
76- /usr/share/miniconda3/include
77- key : libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}-${{ matrix.pydantic-version }}-basic
78-
79- - name : Force-update certifi
66+ - name : Force-update certifi and pip
8067 run : |
8168 python --version
82- pip install -I --upgrade certifi
69+ python -m pip install --upgrade pip
70+ python -m pip install -I --upgrade certifi
8371
8472 - name : Install Ubuntu compilers
8573 if : matrix.os == 'ubuntu-latest'
86- run : conda install gcc_linux-64
74+ run : |
75+ conda install gcc_linux-64
76+ pip install nlopt==2.9.0
8777
8878 # Roundabout solution on macos for proper linking with mpicc
8979 - name : Install macOS compilers
9080 if : matrix.os == 'macos-latest'
9181 run : |
9282 conda install clang_osx-64
83+ pip install nlopt==2.8.0
9384
9485 - name : Install basic testing/feature dependencies
9586 run : |
9687 pip install -r install/testing_requirements.txt
9788 pip install -r install/misc_feature_requirements.txt
98-
99- git clone --recurse-submodules -b develop https://github.com/POptUS/IBCDFO.git
100- pushd IBCDFO/minq/py/minq5/
101- export PYTHONPATH="$PYTHONPATH:$(pwd)"
102- echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
103- popd
104- pushd IBCDFO/ibcdfo_pypkg/
105- pip install -e .
106- popd
89+ source install/install_ibcdfo.sh
90+ conda install numpy scipy
10791
10892 - name : Install mpi4py and MPI from conda
10993 run : |
11094 conda install mpi4py ${{ matrix.mpi-version }}
11195
112- - name : Install generator dependencies
113- run : |
114- python -m pip install --upgrade pip
115- pip install mpmath matplotlib
116- conda install numpy nlopt scipy
117-
118- - uses : actions/cache/save@v4
119- name : Save dependencies to cache
120- if : matrix.os == 'ubuntu-latest'
121- with :
122- path : |
123- /home/runner/.local
124- /usr/share/miniconda3/envs/condaenv
125- /usr/share/miniconda3/bin
126- /usr/share/miniconda3/lib
127- /usr/share/miniconda3/include
128- key : libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}
129-
130- - name : Install libEnsemble, flake8
96+ - name : Install libEnsemble, test flake8
13197 run : |
13298 pip install pydantic==${{ matrix.pydantic-version }}
13399 pip install -e .
@@ -141,19 +107,19 @@ jobs:
141107 - name : Run simple tests, Ubuntu
142108 if : matrix.os == 'ubuntu-latest'
143109 run : |
144- ./libensemble/tests/run-tests.sh -A "-W error" -z -${{ matrix.comms-type }}
110+ ./libensemble/tests/run_tests.py -A "-W error" -${{ matrix.comms-type }}
145111
146112 - name : Run simple tests, macOS
147113 if : matrix.os == 'macos-latest'
148114 run : |
149- ./libensemble/tests/run-tests.sh -A "-W error" -z -${{ matrix.comms-type }}
115+ ./libensemble/tests/run_tests.py -A "-W error" -${{ matrix.comms-type }}
150116
151117 - name : Merge coverage
152118 run : |
153119 mv libensemble/tests/.cov* .
154120
155121 - name : Upload coverage reports to Codecov
156- uses : codecov/codecov-action@v4
122+ uses : codecov/codecov-action@v5
157123 env :
158124 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
159125
@@ -163,4 +129,4 @@ jobs:
163129 runs-on : ubuntu-latest
164130 steps :
165131 - uses : actions/checkout@v4
166- - uses : crate-ci/typos@v1.23.6
132+ - uses : crate-ci/typos@v1.28.2
0 commit comments