Browse Source

test against python3.10

Fabian Peter Hammerle 2 years ago
parent
commit
3ee4888e3a
2 changed files with 3 additions and 1 deletions
  1. 2 1
      .github/workflows/python.yml
  2. 1 0
      setup.py

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

@@ -38,6 +38,7 @@ jobs:
         - '3.7'
         - '3.8'
         - '3.9'
+        - '3.10'
       fail-fast: false
     steps:
     - uses: actions/checkout@v2.3.4
@@ -46,7 +47,7 @@ jobs:
         python-version: ${{ matrix.python-version }}
     - run: pip install --upgrade pipenv==2020.8.13
     # by default pipenv picks the latest version in PATH
-    - run: pipenv --python "$PYTHON_VERSION" install --deploy --dev
+    - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env:
         PYTHON_VERSION: ${{ matrix.python-version }}
     - run: pipenv graph

+ 1 - 0
setup.py

@@ -69,6 +69,7 @@ setuptools.setup(
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
         "Topic :: Home Automation",
     ],
     entry_points={"console_scripts": ["switchbot-mqtt = switchbot_mqtt:_main"]},