diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 837fcfb..25b0a99 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,19 +1,23 @@ name: Tests and Codecov -on: pull_request +on: + push: + pull_request: + workflow_dispatch: + jobs: run_tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, pypy-3.7] + python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.9'] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -30,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install dependencies run: | @@ -44,7 +48,7 @@ jobs: run: coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: files: coverage.xml fail_ci_if_error: true diff --git a/requirements.txt b/requirements.txt index 959d1b7..2bc600d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ wheel==0.23.0 Yarg==0.1.9 -docopt==0.6.2 \ No newline at end of file +docopt==0.6.2 diff --git a/setup.py b/setup.py index 8b826ed..f21dc6b 100755 --- a/setup.py +++ b/setup.py @@ -43,7 +43,6 @@ 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tox.ini b/tox.ini index e03c43a..4de766f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,13 @@ [tox] -envlist = py37, py38, py39, pypy3, flake8 +envlist = py38, py39, py310, py311, pypy3, flake8 [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 - pypy-3.7: pypy3 + 3.10: py310 + 3.11: py311 + pypy-3.9: pypy3 [testenv] setenv =