Skip to content

Commit d5fa2cc

Browse files
committed
Test if it works with numpy<2
1 parent 4c28cf3 commit d5fa2cc

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.github/workflows/build-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ jobs:
5151
echo "MOOSE version:"
5252
python -c "import moose; print(moose.__version__)"
5353
54+
55+
- name: Install numpy < 2 if necessary...
56+
if: ${{ matrix.python-version == '3.11' }}
57+
run: |
58+
pip install "numpy<2"
59+
pip list
60+
5461
- name: Test Moose files
5562
run: |
5663
python tests/python/test_function.py

.github/workflows/ci_pip.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
pip install pymoose
3434
pip list
3535
36+
- name: Install numpy < 2 if necessary...
37+
if: ${{ matrix.python-version == '3.11' }}
38+
run: |
39+
pip install "numpy<2"
40+
pip list
41+
3642
- name: Test Moose files
3743
run: |
3844
python tests/python/test_function.py

.github/workflows/ci_pre_pip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [ 3.9 ]
17+
python-version: [ 3.9, "3.10" ]
1818

1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/omv-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: [ 3.9 ]
17+
python-version: [ 3.9, "3.10" ]
1818
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_validate, jNeuroML_Moose, jNeuroML_EDEN, jNeuroML_NetPyNE ]
1919

2020
steps:

0 commit comments

Comments
 (0)