diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 7cf8387..9ad055f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -4,11 +4,11 @@ on: [push] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: max-parallel: 3 matrix: - python-version: [2.7, 3.5, 3.6] + python-version: [3.7, 3.8, 3.9, 3.10] steps: - name: Install requirements diff --git a/tox.ini b/tox.ini index 37a8442..b7e94d1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,22 +1,20 @@ [tox] -envlist = py27,py35,py36,py37 +envlist = py37, py38, py39, py310 [gh-actions] python = - 2.7: py27 - 3.5: py35 - 3.6: py36 3.7: py37 + 3.8: py38 + 3.9: py39 + 3.10: py310 [testenv] # install pytest in the virtualenv where commands will be executed deps = - -Urtest/requirements.txt + -r test/requirements.txt pytest-cov # should we add privacyidea to test/requirements.txt? privacyidea - # currently this package is missing in privacyIDEAs setup.py - flask-versioned commands = # NOTE: you can run any command line tool here - not just tests python -b -m pytest --cov=authappliance test/