From 10cdaa9e3ba7634a4576a4f5e1a7b3da5d18b5ad Mon Sep 17 00:00:00 2001 From: Ed Rivas <ed@jerivas.com> Date: Wed, 26 May 2021 17:57:51 -0600 Subject: [PATCH] ci: test against Python 3.9 --- .github/workflows/main.yml | 11 +++++++---- setup.cfg | 6 ++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62ae770..0d60910 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,9 @@ name: Test and release # Fires on all incoming commits -on: [push] +on: + pull_request: + push: jobs: @@ -10,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.8] + python: [3.9] steps: - uses: actions/checkout@v2 @@ -18,9 +20,10 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install dependencies - run: pip install tox tox-gh-actions + run: pip install tox tox-gh-actions -U pip - name: Run tests - run: tox --parallel + run: | + tox --skip-missing-interpreters=false --parallel env: TOX_PARALLEL_NO_SPINNER: 1 diff --git a/setup.cfg b/setup.cfg index 6358312..8489fab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,9 +16,10 @@ classifiers = Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 [options] -python_requires = >=3.6, <3.9 +python_requires = >=3.6 packages = find: include_package_data = true @@ -30,6 +31,7 @@ universal = 1 # Testing [tox:tox] +skip_missing_interpreters = true envlist = package @@ -47,4 +49,4 @@ commands = [gh-actions] # Connect GitHub Action matrices with tox envs python = - 3.8: package + 3.9: package