Skip to content
Merged
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
17 changes: 3 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,24 @@ on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python }} (deadsnakes)
uses: deadsnakes/action@v1.0.0
if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python ${{ matrix.python-version }}
if: "!endsWith(matrix.python-version, '-dev')"
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Ubuntu cache
uses: actions/cache@v1
if: startsWith(matrix.os, 'ubuntu')
- name: Cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key:
Expand All @@ -47,12 +38,10 @@ jobs:
python3 -m pip install ".[test]"

- name: Tests
shell: bash
run: |
python -m testtools.run testtools.tests.test_suite

- name: Docs
shell: bash
run: |
make clean-sphinx docs

3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ NEXT
Improvements
------------

* Add support for Python 3.9.
(Hugo van Kemenade)

* The skip, skipIf, and skipUnless decorators can now be used as class
decorators as well as test method decorators, just as they can in
unittest.
Expand Down
2 changes: 1 addition & 1 deletion scripts/all-pythons
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def now():
if __name__ == '__main__':
sys.path.append(ROOT)
result = TestProtocolClient(sys.stdout)
for version in '3.5 3.6 3.7 3.8'.split():
for version in '3.5 3.6 3.7 3.8 3.9'.split():
run_for_python(version, result, sys.argv[1:])
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Expand Down