Skip to content

Commit

Permalink
Test Python 3.8 (#237)
Browse files Browse the repository at this point in the history
* Test for Python 3.8

* Require at least Python 3.5.3
  • Loading branch information
MartinHjelmare authored Mar 12, 2020
1 parent ce35c38 commit 1b815ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7]
python-version: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
install_requires=REQUIRES,
extras_require=EXTRAS,
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.5.3",
entry_points={"console_scripts": ["pymysensors = mysensors.cli:cli"]},
keywords=["sensor", "actuator", "IoT", "DYI"],
zip_safe=True,
Expand All @@ -46,6 +47,7 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Home Automation",
],
)
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py35, py36, py37, black, lint
envlist = py35, py36, py37, py38, black, lint
skip_missing_interpreters = True

[gh-actions]
python =
3.5: py35, lint
3.6: py36, black
3.7: py37
3.8: py38

[testenv]
commands =
Expand Down

0 comments on commit 1b815ac

Please sign in to comment.