Skip to content

Commit 454a564

Browse files
Merge pull request #1312 from apdavison/ci-matrix-update
Update NumPy versions we test with
2 parents 071efb1 + 0485ba9 commit 454a564

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/core-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- 'neo/core/**'
99
- 'pyproject.toml'
10+
- '.github/workflows/*.yml'
1011

1112
# run checks on any change of master, including merge of PRs
1213
push:
@@ -26,14 +27,12 @@ jobs:
2627
os: ["ubuntu-latest", "windows-latest"]
2728
# "macos-latest",
2829
python-version: ['3.8', '3.9', '3.10', '3.11']
29-
numpy-version: ['1.19.5', '1.20.3', '1.21.6', '1.22.4', '1.23.5', '1.24.1']
30+
numpy-version: ['1.20.3', '1.21.6', '1.22.4', '1.23.5', '1.24.1', '1.25.1']
3031
exclude:
31-
- python-version: '3.10'
32-
numpy-version: '1.19.5'
32+
- python-version: '3.8'
33+
numpy-version: '1.25.1'
3334
- python-version: '3.10'
3435
numpy-version: '1.20.3'
35-
- python-version: '3.11'
36-
numpy-version: '1.19.5'
3736
- python-version: '3.11'
3837
numpy-version: '1.20.3'
3938
- python-version: '3.11'

neo/test/coretest/test_spiketrain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,10 +1169,10 @@ def setUp(self):
11691169
self.waveforms2 = np.array(
11701170
[[[0., 1.], [0.1, 1.1]], [[2., 3.], [2.1, 3.1]], [[4., 5.], [4.1, 5.1]],
11711171
[[6., 7.], [6.1, 7.1]], [[8., 9.], [8.1, 9.1]], [[10., 11.], [10.1, 11.1]]]) * pq.mV
1172-
self.data2 = np.array([0.1, 0.5, 1.2, 3.3, 6.4, 7])
1173-
self.data2quant = self.data1 * pq.ms
1172+
self.data2 = np.array([0.11, 0.51, 1.21, 3.31, 6.41, 7.01])
1173+
self.data2quant = self.data2 * pq.ms
11741174
self.arr_ann2 = {'index': np.arange(101, 107), 'label2': ['g', 'h', 'i', 'j', 'k', 'l']}
1175-
self.train2 = SpikeTrain(self.data1quant, t_stop=10.0 * pq.ms, waveforms=self.waveforms1,
1175+
self.train2 = SpikeTrain(self.data2quant, t_stop=10.0 * pq.ms, waveforms=self.waveforms2,
11761176
array_annotations=self.arr_ann2)
11771177

11781178
self.segment = Segment()

0 commit comments

Comments
 (0)