mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
Update .travis.yml (#21736)
* Update .travis.yml * Update tox.ini * Update main.workflow * Update tox.ini
This commit is contained in:
parent
ba70459e1e
commit
02bcf46053
10
.github/main.workflow
vendored
10
.github/main.workflow
vendored
@ -20,9 +20,7 @@ action "Python 3.6 - tests" {
|
|||||||
|
|
||||||
workflow "Python 3.5 - tox" {
|
workflow "Python 3.5 - tox" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = [
|
resolves = ["Pyton 3.5 - typing"]
|
||||||
"Pyton 3.5 - typing,cov",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Python 3.5 - tests" {
|
action "Python 3.5 - tests" {
|
||||||
@ -33,11 +31,11 @@ action "Python 3.5 - tests" {
|
|||||||
action "Python 3.5 - lints" {
|
action "Python 3.5 - lints" {
|
||||||
uses = "home-assistant/actions/py35-tox@master"
|
uses = "home-assistant/actions/py35-tox@master"
|
||||||
needs = ["Python 3.5 - tests"]
|
needs = ["Python 3.5 - tests"]
|
||||||
args = "-e lint,pylint -p auto --parallel-live"
|
args = "-e lint"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Pyton 3.5 - typing,cov" {
|
action "Pyton 3.5 - typing" {
|
||||||
uses = "home-assistant/actions/py35-tox@master"
|
uses = "home-assistant/actions/py35-tox@master"
|
||||||
args = "-e typing,cov -p auto --parallel-live"
|
args = "-e typing"
|
||||||
needs = ["Python 3.5 - lints"]
|
needs = ["Python 3.5 - lints"]
|
||||||
}
|
}
|
||||||
|
@ -6,20 +6,11 @@ addons:
|
|||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- python: "3.5.3"
|
|
||||||
env: TOXENV=lint
|
|
||||||
- python: "3.5.3"
|
- python: "3.5.3"
|
||||||
env: TOXENV=pylint
|
env: TOXENV=pylint
|
||||||
- python: "3.5.3"
|
|
||||||
env: TOXENV=typing
|
|
||||||
- python: "3.5.3"
|
- python: "3.5.3"
|
||||||
env: TOXENV=cov
|
env: TOXENV=cov
|
||||||
after_success: coveralls
|
after_success: coveralls
|
||||||
- python: "3.6"
|
|
||||||
env: TOXENV=py36
|
|
||||||
- python: "3.7"
|
|
||||||
env: TOXENV=py37
|
|
||||||
dist: xenial
|
|
||||||
- python: "3.8-dev"
|
- python: "3.8-dev"
|
||||||
env: TOXENV=py38
|
env: TOXENV=py38
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
Loading…
x
Reference in New Issue
Block a user