Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Python versions for tests #658

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python package
name: Python tests

on: [push, pull_request, workflow_dispatch]

Expand All @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]

steps:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 nose pep8 pyyaml
pip install flake8 pytest pep8 pyyaml
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Test with nosetests
run: |
export PYTHONHASHSEED=0
nosetests -v tests/test_umi_tools.py
pytest tests/test_umi_tools.py
2 changes: 0 additions & 2 deletions tests/test_umi_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
import sys
import platform

from nose.tools import ok_

PYTHON_VERSION = platform.python_version()
IS_PY3 = sys.version_info.major >= 3

Expand Down
Loading