mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add workflow for tests
This commit is contained in:
parent
eae6d1c7a6
commit
f3e8e34089
41
.github/main.workflow
vendored
Normal file
41
.github/main.workflow
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
workflow "Python 3.7 - tox" {
|
||||||
|
resolves = ["Python 3.7 - tests"]
|
||||||
|
on = "push"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Python 3.7 - tests" {
|
||||||
|
uses = "home-assistant/actions/py37-tox@master"
|
||||||
|
args = "-e py37"
|
||||||
|
}
|
||||||
|
|
||||||
|
workflow "Python 3.6 - tox" {
|
||||||
|
resolves = ["Python 3.6 - tests"]
|
||||||
|
on = "push"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Python 3.6 - tests" {
|
||||||
|
uses = "home-assistant/actions/py36-tox@master"
|
||||||
|
args = "-e py36"
|
||||||
|
}
|
||||||
|
|
||||||
|
workflow "Python 3.5 - tox" {
|
||||||
|
resolves = ["Pyton 3.5 - typing"]
|
||||||
|
on = "push"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Python 3.5 - tests" {
|
||||||
|
uses = "home-assistant/actions/py35-tox@master"
|
||||||
|
args = "-e py35"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Python 3.5 - lints" {
|
||||||
|
uses = "home-assistant/actions/py35-tox@master"
|
||||||
|
needs = ["Python 3.5 - tests"]
|
||||||
|
args = "-e lint"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Pyton 3.5 - typing" {
|
||||||
|
uses = "home-assistant/actions/py35-tox@master"
|
||||||
|
args = "-e typing"
|
||||||
|
needs = ["Python 3.5 - lints"]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user