Skip to content

Commit f31b215

Browse files
committed
Updating tested python versions
1 parent 8b73e7a commit f31b215

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,44 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: [3.7 ,3.8, 3.9, '3.10', 3.11]
9+
python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
1010
steps:
1111
- name: Checkout repository and submodules
1212
uses: actions/checkout@v4
1313
with:
1414
submodules: recursive
1515
- name: Checkout github repo (+ download lfs dependencies)
1616
uses: actions/checkout@v4
17-
with:
18-
lfs: true
19-
- name: Checkout LFS objects
20-
run: git lfs checkout
2117

2218
- name: Set up Python ${{ matrix.python-version }}
2319
uses: actions/setup-python@v5
2420
with:
2521
python-version: ${{ matrix.python-version }}
22+
2623
- name: Install dependencies
2724
run: |
28-
python -m pip install --upgrade pip
2925
python -m pip install .[test]
26+
27+
- name: Lint with flake8
28+
run: |
29+
python -m flake8 syncropatch_export/*.py tests/*.py
30+
31+
- name: Import sorting with isort
32+
run: |
33+
python -m isort --verbose --check-only --diff syncropatch_export tests setup.py
34+
3035
- name: Download and extract test data
3136
run: |
3237
wget https://cardiac.nottingham.ac.uk/syncropatch_export/test_data.tar.xz -P tests/
3338
tar xvf tests/test_data.tar.xz -C tests/
39+
3440
- name: Test with pytest
3541
run: |
3642
python -m pip install -e .
3743
python -m pytest --cov --cov-config=.coveragerc
44+
3845
- uses: codecov/codecov-action@v4
3946
with:
4047
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
41-
- name: Lint with flake8
42-
run: |
43-
python -m flake8 syncropatch_export/*.py tests/*.py
44-
- name: Import sorting with isort
45-
run: |
46-
python -m isort --verbose --check-only --diff syncropatch_export tests setup.py
48+
if: matrix.python-version == 3.13
49+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This repository contains a python package and scripts for processing data output
3030
With this package you can export each sweep of each protocol for each well as individual files (.csv).
3131
Meta-data describing the protocol, and variables such as membrance capacitance (Cm), Rseries and Rseal can be exported.
3232

33-
This package has been tested on Ubuntu with Python 3.7, 3.8, 3.9, 3.10 and 3.11.
33+
This package is tested on Ubuntu with Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13.
3434

3535
## Getting Started
3636

0 commit comments

Comments
 (0)