Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 1744a14

Browse files
authored
Merge pull request #43 from SpikeInterface/new_version
GH actions and incr version
2 parents 320596a + aa7e9a5 commit 1744a14

File tree

5 files changed

+84
-30
lines changed

5 files changed

+84
-30
lines changed

.github/workflows/python-package.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Python Package using Conda
2+
3+
on: [push]
4+
5+
jobs:
6+
build-and-test:
7+
name: Test on (${{ matrix.os }})
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: ["ubuntu-latest"]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: s-weigand/setup-conda@v1
16+
with:
17+
python-version: 3.8
18+
- name: Which python
19+
run: |
20+
conda --version
21+
which python
22+
- name: Install dependencies
23+
run: |
24+
pip install https://github.com/SpikeInterface/spikeextractors/archive/master.zip
25+
pip install https://github.com/SpikeInterface/spiketoolkit/archive/master.zip
26+
pip install https://github.com/SpikeInterface/spikesorters/archive/master.zip
27+
pip install .
28+
pip install pytest
29+
pip install herdingspikes==0.3.7
30+
pip install pyqt5
31+
pip install hdbscan
32+
pip install loky
33+
pip install tridesclous>=1.6.3
34+
- name: Test with pytest and build coverage report
35+
run: |
36+
pytest

.github/workflows/python-publish.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Test and Upload Python Package
5+
6+
on:
7+
push:
8+
tags:
9+
- '*'
10+
11+
jobs:
12+
deploy:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: s-weigand/setup-conda@v1
19+
with:
20+
python-version: 3.6
21+
- name: Which python
22+
run: |
23+
conda --version
24+
which python
25+
- name: Install dependencies
26+
run: |
27+
pip install .
28+
pip install pytest
29+
pip install setuptools wheel twine
30+
pip install herdingspikes==0.3.7
31+
pip install pyqt5
32+
pip install hdbscan
33+
pip install loky
34+
pip install tridesclous>=1.6.3
35+
- name: Test with pytest and build coverage report
36+
run: |
37+
pytest
38+
- name: Publish on PyPI
39+
env:
40+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
41+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
42+
run: |
43+
python setup.py sdist bdist_wheel
44+
twine upload dist/*

.travis.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
'pandas',
2525
'networkx',
2626
'joblib',
27-
'spikeextractors>=0.9.3',
28-
'spiketoolkit>=0.7.2',
29-
'spikesorters>=0.4.3',
27+
'spikeextractors>=0.9.7',
28+
'spiketoolkit>=0.7.6',
29+
'spikesorters>=0.4.5',
3030
],
3131
classifiers=(
3232
"Programming Language :: Python :: 3",

spikecomparison/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '0.3.2'
1+
version = '0.3.3'

0 commit comments

Comments
 (0)