Added Python 3.10 to CI Matrix

This commit is contained in:
Tobias Wellnitz, DH1TW 2022-05-12 01:45:40 +02:00
parent 82e2b93cd5
commit 44319becff

View file

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