1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Migrate to python 3.8 (#1824)

* Migrate to python 3.8

* Fix tests on Py38

* cleanup tests

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Pascal Vizeli
2020-07-13 22:26:41 +02:00
committed by GitHub
parent 7f4284f2af
commit bdfcf1a2df
13 changed files with 38 additions and 43 deletions

View File

@@ -89,7 +89,7 @@ jobs:
- name: Run black
run: |
. venv/bin/activate
black --target-version py37 --check supervisor tests setup.py
black --target-version py38 --check supervisor tests setup.py
lint-dockerfile:
name: Check Dockerfile
@@ -345,7 +345,7 @@ jobs:
needs: prepare
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.8]
name: Run tests Python ${{ matrix.python-version }}
steps:
- name: Check out code from GitHub

15
.github/workflows/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}