Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark support for Python 3.8 & 3.9 and add to testing matrix #477

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 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,22 +21,26 @@ 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 py$(tr -d . <<<${{ matrix.python }})-${{ matrix.httplib }}

misc:
runs-on: ubuntu-18.04
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
tox:
- mypy
- pre-commit
experimental: [false]
include:
- tox: mypy
experimental: true
steps:
- 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