diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e91406e..4175ccc 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,5 +1,5 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions +# This workflow will install Python dependencies, run tests, and lint with a variety of Python versions +# For more information, see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Run Tests @@ -11,15 +11,16 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest timeout-minutes: 5 strategy: - matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] + fail-fast: false + matrix: # https://devguide.python.org/versions + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/tox.ini b/tox.ini index 2f426d4..895f069 100644 --- a/tox.ini +++ b/tox.ini @@ -21,9 +21,11 @@ max-complexity = 10 [gh-actions] python = - 3.8: py38 3.6: py36 3.7: py37 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 + 3.12: py312 + 3.13: py313