Skip to content

Commit

Permalink
Mark support for Python 3.8 & 3.9 and add to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
terencehonles committed Apr 12, 2021
1 parent 9e70082 commit 69d1528
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
---
name: build
on: push
on: [push, pull_request]
jobs:
tox:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
python:
- py27
- py36
- py37
- '2.7'
- '3.6'
- '3.7'
- '3.8'
- '3.9'
httplib:
- default
- fido
Expand All @@ -19,9 +21,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python }}
- run: pip install tox
- run: tox -e ${{ matrix.python }}-${{ matrix.httplib }}
- run: tox -e $(tr -d . <<<${{ matrix.python }})-${{ matrix.httplib }}

misc:
runs-on: ubuntu-18.04
Expand All @@ -35,6 +37,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- run: pip install tox
- run: tox -e ${{ matrix.tox }}
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
package_data={
'bravado': ['py.typed'],
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[tox]
envlist = {py27,py36,py37}-{default,fido}, {py27,py36,py37}-fido-requests2dot17, mypy, pre-commit
envlist =
{py27,py36,py37,py38,py39}-{default,fido}
{py27,py36,py37,py38,py39}-fido-requests2dot17
mypy
pre-commit

[testenv]
deps =
Expand All @@ -23,7 +27,7 @@ commands =
pre-commit {posargs:run --all-files}

[testenv:mypy]
basepython = python3.7
basepython = python3
deps =
# TODO: Latest twisted (>=21) and mypy (0.8XX) don't get along. Remove when they're friends again.
#
Expand Down

0 comments on commit 69d1528

Please sign in to comment.