Skip to content
Open
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
15 changes: 7 additions & 8 deletions .github/workflows/ci_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ jobs:
test_suite:
runs-on: ubuntu-20.04

strategy:
matrix:
python-version: ["3.7.9", "3.8", "3.9"]

steps:
- name: Work around permissions issue
run: git config --global --add safe.directory /__w/longbow/longbow

- uses: 'actions/checkout@v2'
- uses: actions/setup-python@v2
- uses: 'actions/checkout@v3'
- uses: actions/setup-python@v4
with:
python-version: '3.7.9'
python-version: ${{ matrix.python-version }}
architecture: 'x64'

# - name: wget
# uses: wei/wget@v1
# with:
# args: -O /usr/local/bin/starcode https://github.com/gui11aume/starcode/releases/download/1.4/starcode-1.4

- name: pytest
run: |-
wget -O /usr/local/bin/starcode https://github.com/gui11aume/starcode/releases/download/1.4/starcode-1.4
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"symspellpy"
],
tests_require=["coverage", "pytest"],
python_requires=">=3.6, <3.8",
python_requires=">3.6, <3.12",
packages=find_packages("src"),
package_dir={"": "src"},
classifiers=[
Expand All @@ -42,9 +42,10 @@
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
],
entry_points={"console_scripts": ["longbow=longbow.__main__:main_entry"]},
Expand Down
13 changes: 0 additions & 13 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,3 @@ pytest
pytest-cov
pytest-skip-slow
coverage >= 4.5
click
click_log
tqdm
ssw
pysam
construct
numpy
pandas
git+https://github.com/jonn-smith/pomegranate.git@d80ec9304bba4c42ee3943c887754fd78885cd55#egg=pomegranate
matplotlib
polyleven
ordered-set
symspellpy
14 changes: 8 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# and then run "tox" from this directory.

[tox]
envlist = lint,py36,py37,py38
min_version = 4.0
envlist = lint,py38,py39,py310,py311
skip_missing_interpreters =
true

Expand Down Expand Up @@ -40,9 +41,9 @@ commands =

[testenv:lint]
deps =
pylint
black
flake8
pylint
black
flake8

commands =
black --check --diff --target-version py38 src tests setup.py
Expand All @@ -52,6 +53,7 @@ commands =

[gh-actions]
python =
3.6: lint,py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311