Skip to content

Commit

Permalink
ci: test against Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed May 26, 2021
1 parent 26e3ff1 commit 10cdaa9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Test and release

# Fires on all incoming commits
on: [push]
on:
pull_request:
push:

jobs:

Expand All @@ -10,17 +12,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.8]
python: [3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
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

Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -30,6 +31,7 @@ universal = 1
# Testing

[tox:tox]
skip_missing_interpreters = true
envlist =
package

Expand All @@ -47,4 +49,4 @@ commands =
[gh-actions]
# Connect GitHub Action matrices with tox envs
python =
3.8: package
3.9: package

0 comments on commit 10cdaa9

Please sign in to comment.