Skip to content

Commit

Permalink
Merge pull request #115 from iamdefinitelyahuman/feat-py39
Browse files Browse the repository at this point in the history
Support for python 3.9
  • Loading branch information
iamdefinitelyahuman authored Nov 20, 2020
2 parents 99497f1 + 6d28845 commit 19014d7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,30 @@ jobs:
file: ./coverage.xml
fail_ci_if_error: true


py38:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Setup Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install Tox
run: pip install tox wheel

- name: Run Tox
run: tox -e py38

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
fail_ci_if_error: true

py39:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -95,16 +117,16 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Setup Python 3.8
- name: Setup Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9

- name: Install Tox
run: pip install tox wheel

- name: Run Tox
run: tox -e py38
run: tox -e py39

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist =
lint
py{36,37,38}
py{36,37,38,39}

[testenv]
passenv =
GITHUB_TOKEN
deps = -r{toxinidir}/requirements-dev.txt
commands =
py{36,37,38}: python -m pytest tests/
py{36,37,38,39}: python -m pytest tests/

[testenv:lint]
extras=linter
Expand Down

0 comments on commit 19014d7

Please sign in to comment.