@@ -29,12 +29,12 @@ jobs:
29
29
matrix :
30
30
test-type : [unit, integrated]
31
31
packages : [all, vmec, spec, none]
32
- python-version : [3.8.17 , 3.9.17, 3.10.12] # To sync with coveragerc use 3 levels with python version
32
+ python-version : [3.8, 3.9, " 3.10"]
33
33
include :
34
- - python-version : 3.9.17
34
+ - python-version : 3.9
35
35
test-type : unit
36
36
packages : none
37
- - python-version : 3.9.17
37
+ - python-version : 3.9
38
38
test-type : integrated
39
39
packages : none
40
40
@@ -63,12 +63,12 @@ jobs:
63
63
sudo apt-get update
64
64
sudo apt-get install -y build-essential gfortran openmpi-bin libopenmpi-dev libnetcdf-dev libnetcdff-dev liblapack-dev libscalapack-mpi-dev libhdf5-dev libhdf5-serial-dev git m4 libfftw3-dev libopenblas-dev libboost-all-dev
65
65
66
- - uses : actions/checkout@v3
66
+ - uses : actions/checkout@v4
67
67
# If we want submodules downloaded, uncomment the next 2 lines:
68
68
# with:
69
69
# submodules: true
70
70
71
- # We must run actions/checkout@v3 before downloading and building VMEC, since checkout deletes the contents of the directory.
71
+ # We must run actions/checkout before downloading and building VMEC, since checkout deletes the contents of the directory.
72
72
- name : Download the VMEC2000 standalone repository
73
73
if : contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')
74
74
run : git clone https://github.com/hiddensymmetries/VMEC2000.git
80
80
pwd
81
81
82
82
- name : Set up Python ${{ matrix.python-version }}
83
- uses : actions/setup-python@v4
83
+ uses : actions/setup-python@v5
84
84
with :
85
85
python-version : ${{ matrix.python-version }}
86
86
98
98
- name : Install python dependencies
99
99
run : |
100
100
sudo apt-get install graphviz graphviz-dev
101
- pip install wheel numpy scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz
101
+ pip install wheel " numpy<2.0.0" scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz ground bentley_ottmann
102
102
103
103
- name : Install booz_xform
104
104
if : contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')
@@ -112,7 +112,7 @@ jobs:
112
112
# https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token
113
113
- name : Check out SPEC
114
114
if : contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')
115
- uses : actions/checkout@v3
115
+ uses : actions/checkout@v4
116
116
with :
117
117
repository : PrincetonUniversity/SPEC
118
118
path : SPEC
@@ -165,15 +165,19 @@ jobs:
165
165
166
166
- name : Install simsopt package
167
167
if : contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')
168
- run : pip install -v .[MPI,SPEC]
168
+ run : |
169
+ pip install -v .
170
+ pip install mpi4py py_spec pyoculus h5py
169
171
170
172
- name : Install simsopt package
171
173
if : contains(matrix.packages, 'none')
172
174
run : pip install -v .
173
175
174
176
- name : Install simsopt package
175
177
if : contains(matrix.packages, 'vmec')
176
- run : pip install -v .[MPI]
178
+ run : |
179
+ pip install -v .
180
+ pip install mpi4py
177
181
178
182
- name : Run serial examples as part of integrated tests
179
183
if : contains(matrix.test-type, 'integrated') && (contains(matrix.packages, 'none') || contains(matrix.packages, 'all'))
@@ -245,15 +249,15 @@ jobs:
245
249
steps :
246
250
247
251
- name : Set up Python
248
- uses : actions/setup-python@v4
252
+ uses : actions/setup-python@v5
249
253
with :
250
- python-version : 3.8.17
254
+ python-version : 3.9
251
255
252
256
- name : Install coverage
253
257
run : pip install coverage
254
258
255
259
- name : Checkout simsopt
256
- uses : actions/checkout@v3
260
+ uses : actions/checkout@v4
257
261
258
262
- name : Install simsopt before running coverage
259
263
run : pip install .
0 commit comments