Browse Source

test against python3.9

https://github.com/fphammerle/switchbot-mqtt/commit/b2747c3a3a5251285732694945fa836ee3552600
https://github.com/fphammerle/ical2vdir/commit/d679a828a6de976c477ddfa7f3ced0b1be57fc3c
Fabian Peter Hammerle 3 years ago
parent
commit
4644d19eaf
2 changed files with 5 additions and 1 deletions
  1. 4 1
      .github/workflows/python.yml
  2. 1 0
      setup.py

+ 4 - 1
.github/workflows/python.yml

@@ -39,6 +39,7 @@ jobs:
         - 3.6
         - 3.7
         - 3.8
+        - 3.9
       fail-fast: false
     steps:
     - uses: actions/checkout@v1
@@ -51,7 +52,9 @@ jobs:
         PYTHON_VERSION: ${{ matrix.python-version }}
     - run: pipenv graph
     - run: pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=63
-    - run: pipenv run pylint --load-plugins=pylint_import_requirements "$(cat *.egg-info/top_level.txt)"
+    # https://github.com/PyCQA/pylint/issues/3882
+    - run: python3 -c 'import sys; sys.exit(sys.version_info < (3, 9))'
+        || pipenv run pylint --load-plugins=pylint_import_requirements "$(cat *.egg-info/top_level.txt)"
     # https://github.com/PyCQA/pylint/issues/352
     - run: pipenv run pylint tests/*
     - run: pipenv run mypy "$(cat *.egg-info/top_level.txt)" tests

+ 1 - 0
setup.py

@@ -23,6 +23,7 @@ setuptools.setup(
         "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3.9",
         "Topic :: Games/Entertainment",
         "Topic :: Utilities",
     ],