Add Python 3.9 to CI (#41373)

This commit is contained in:
Franck Nijhof 2021-01-01 12:51:27 +01:00 committed by GitHub
parent 94825b3e15
commit 7415dacec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -585,7 +585,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
container: homeassistant/ci-azure:${{ matrix.python-version }}
steps:
- name: Check out code from GitHub
@ -609,6 +609,10 @@ jobs:
Create full Python ${{ matrix.python-version }} virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true'
run: |
# Temporary addition of cmake, needed to build some Python 3.9 packages
apt-get update
apt-get -y install cmake
python -m venv venv
. venv/bin/activate
pip install -U "pip<20.3" setuptools wheel
@ -692,7 +696,7 @@ jobs:
strategy:
matrix:
group: [1, 2, 3, 4]
python-version: [3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
name: >-
Run tests Python ${{ matrix.python-version }} (group ${{ matrix.group }})
container: homeassistant/ci-azure:${{ matrix.python-version }}