Skip to content

Commit 62ba279

Browse files
authored
Merge pull request #1136 from apdavison/ci-matrix-update
Update CI matrix for core tests
2 parents a0bba3a + cca9c16 commit 62ba279

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.github/workflows/core-test.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,20 @@ jobs:
1919
fail-fast: true
2020
matrix:
2121
os: ["ubuntu-latest", "windows-latest"]
22-
# "macos-latest",
23-
python-version: ['3.7', '3.8', '3.9']
24-
numpy-version: ['1.16.6', '1.17.5', '1.18.5', '1.19.5', '1.20.3', '1.21.5', '1.22.3']
22+
# "macos-latest",
23+
python-version: ['3.7', '3.8', '3.9', '3.10']
24+
numpy-version: ['1.18.5', '1.19.5', '1.20.3', '1.21.6', '1.22.4', '1.23.0']
2525
exclude:
2626
- python-version: '3.7'
27-
numpy-version: '1.22.3'
28-
27+
numpy-version: '1.22.4'
28+
- python-version: '3.7'
29+
numpy-version: '1.23.0'
30+
- python-version: '3.10'
31+
numpy-version: '1.18.5'
32+
- python-version: '3.10'
33+
numpy-version: '1.19.5'
34+
- python-version: '3.10'
35+
numpy-version: '1.20.3'
2936
steps:
3037
- name: Set up Python ${{ matrix.python-version }}
3138
uses: actions/setup-python@v2

doc/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Dependencies
1212
------------
1313

1414
* Python_ >= 3.7
15-
* numpy_ >= 1.16.1
15+
* numpy_ >= 1.18.5
1616
* quantities_ >= 0.12.1
1717

1818
You can install the latest published version of Neo and its dependencies using::

neo/test/tools.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ def assert_same_sub_schema(ob1, ob2, equal_almost=True, threshold=1e-10, exclude
189189
the comparison
190190
191191
'''
192+
if isinstance(ob1, SpikeTrainList) and isinstance(ob2, list):
193+
# for debugging occasional test failure
194+
raise Exception("items={}\nspike_time_array={}\nlist length: {}".format(
195+
str(ob1._items), str(ob1._spike_time_array), len(ob2)))
192196
assert type(ob1) == type(ob2), 'type({}) != type({})'.format(type(ob1), type(ob2))
193197
classname = ob1.__class__.__name__
194198

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55

66
long_description = open("README.rst").read()
7-
install_requires = ['numpy>=1.16.1',
7+
install_requires = ['numpy>=1.18.5',
88
'quantities>=0.12.1']
99
extras_require = {
1010
'igorproio': ['igor'],
@@ -46,6 +46,7 @@
4646
'Programming Language :: Python :: 3.7',
4747
'Programming Language :: Python :: 3.8',
4848
'Programming Language :: Python :: 3.9',
49+
'Programming Language :: Python :: 3.10',
4950
'Programming Language :: Python :: 3 :: Only',
5051
'Topic :: Scientific/Engineering']
5152
)

0 commit comments

Comments
 (0)