diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 0000000..9cd88b8 --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,25 @@ +name: tox +on: [push, pull_request] +jobs: + tox: + strategy: + fail-fast: false + # max-parallel: 4 + matrix: + os: [ubuntu-latest] # [macos-latest, ubuntu-latest, windows-latest] + # python: ['3.7', '3.8', '3.9', '3.10', '3.11'] # '2.7' tests fail + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: | + '3.7' + '3.8' + '3.9' + '3.10' + '3.11' + # python-version: ${{ matrix.python }} + - run: pip install --upgrade pip + - run: pip install tox + - run: tox diff --git a/tox.ini b/tox.ini index 0862e62..bfa0bd9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py33,py34,py35,py36,py37,py38 +envlist = py27,py37,py38,py39,py310,py311 [testenv] commands = python setup.py test