Merge pull request #60 from romanz/fix-test

Fix pytest usage
This commit is contained in:
Roman Zeyde
2022-12-24 21:54:47 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
@@ -33,4 +33,4 @@ jobs:
- name: Test with pytest
run: |
py.test -v --cov=amodem
pytest -v --cov=amodem

View File

@@ -32,11 +32,11 @@ setup(
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'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',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
'Topic :: Communications',

View File

@@ -10,5 +10,5 @@ deps=
commands=
pycodestyle amodem/ scripts/
pylint --extension-pkg-whitelist=numpy --reports=no amodem --rcfile .pylintrc
coverage run --source amodem/ --omit="*/__main__.py" -m py.test -v
coverage run --source amodem/ --omit="*/__main__.py" -m pytest -v
coverage report