Skip to content

Commit

Permalink
Merge pull request #1312 from apdavison/ci-matrix-update
Browse files Browse the repository at this point in the history
Update NumPy versions we test with
  • Loading branch information
JuliaSprenger authored Jul 27, 2023
2 parents 071efb1 + 0485ba9 commit 454a564
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- 'neo/core/**'
- 'pyproject.toml'
- '.github/workflows/*.yml'

# run checks on any change of master, including merge of PRs
push:
Expand All @@ -26,14 +27,12 @@ jobs:
os: ["ubuntu-latest", "windows-latest"]
# "macos-latest",
python-version: ['3.8', '3.9', '3.10', '3.11']
numpy-version: ['1.19.5', '1.20.3', '1.21.6', '1.22.4', '1.23.5', '1.24.1']
numpy-version: ['1.20.3', '1.21.6', '1.22.4', '1.23.5', '1.24.1', '1.25.1']
exclude:
- python-version: '3.10'
numpy-version: '1.19.5'
- python-version: '3.8'
numpy-version: '1.25.1'
- python-version: '3.10'
numpy-version: '1.20.3'
- python-version: '3.11'
numpy-version: '1.19.5'
- python-version: '3.11'
numpy-version: '1.20.3'
- python-version: '3.11'
Expand Down
6 changes: 3 additions & 3 deletions neo/test/coretest/test_spiketrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,10 +1169,10 @@ def setUp(self):
self.waveforms2 = np.array(
[[[0., 1.], [0.1, 1.1]], [[2., 3.], [2.1, 3.1]], [[4., 5.], [4.1, 5.1]],
[[6., 7.], [6.1, 7.1]], [[8., 9.], [8.1, 9.1]], [[10., 11.], [10.1, 11.1]]]) * pq.mV
self.data2 = np.array([0.1, 0.5, 1.2, 3.3, 6.4, 7])
self.data2quant = self.data1 * pq.ms
self.data2 = np.array([0.11, 0.51, 1.21, 3.31, 6.41, 7.01])
self.data2quant = self.data2 * pq.ms
self.arr_ann2 = {'index': np.arange(101, 107), 'label2': ['g', 'h', 'i', 'j', 'k', 'l']}
self.train2 = SpikeTrain(self.data1quant, t_stop=10.0 * pq.ms, waveforms=self.waveforms1,
self.train2 = SpikeTrain(self.data2quant, t_stop=10.0 * pq.ms, waveforms=self.waveforms2,
array_annotations=self.arr_ann2)

self.segment = Segment()
Expand Down

0 comments on commit 454a564

Please sign in to comment.