CI: Bump Python versions, fix tests.

This commit is contained in:
Phil Howard
2023-07-26 15:31:33 +01:00
parent 1a70d3ae7e
commit 6719ad8dac
2 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [2.7, 3.7, 3.9]
python: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
@@ -33,5 +33,5 @@ jobs:
run: |
python -m pip install coveralls
coveralls --service=github
if: ${{ matrix.python == '3.9' }}
if: ${{ matrix.python == '3.11' }}

View File

@@ -1,11 +1,11 @@
[tox]
envlist = py{27,37,39},qa
envlist = py,qa
skip_missing_interpreters = True
[testenv]
commands =
python setup.py install
coverage run -m py.test -v -r wsx
coverage run -m pytest -v -r wsx
coverage report
deps =
mock