added python 3.10 and 3.11 to CI

This commit is contained in:
Tobias Wellnitz, DH1TW 2022-12-03 23:25:41 +01:00
parent 094db34159
commit ebdf0c9707
2 changed files with 12 additions and 8 deletions

View file

@ -20,15 +20,19 @@ environment:
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.7"
PYTHON_VERSION: "3.8.15"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python39"
PYTHON_VERSION: "3.9.1"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.9.15"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python39"
PYTHON_VERSION: "3.9.1"
- PYTHON: "C:\\Python310"
PYTHON_VERSION: "3.10.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python311"
PYTHON_VERSION: "3.11.0"
PYTHON_ARCH: "64"
init:

View file

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy2"]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy2"]
redis-version: [6]
steps:
@ -45,8 +45,8 @@ jobs:
run: |
sleep $[ ( $RANDOM % 20 ) + 1 ]s
pytest --cov=./
if [[ $PYTHON_VERSION == 3.10 ]]; then codecov; fi
if [[ $PYTHON_VERSION == 3.10 ]]; then cd docs && make html; fi
if [[ $PYTHON_VERSION == 3.11 ]]; then codecov; fi
if [[ $PYTHON_VERSION == 3.11 ]]; then cd docs && make html; fi
# publish_package:
# runs-on: "ubuntu-latest"