GitHub Workflow (#21643)

* Fix tox.ini

* Update main.workflow

* Update tox.ini

* Update main.workflow

* Update main.workflow

* Update tox.ini

* Try only with one

* Update main.workflow

* Update main.workflow

* Update main.workflow

* Update main.workflow

* Update main.workflow
This commit is contained in:
Pascal Vizeli authored and GitHub committed 2019-03-04 12:36:50 +01:00
1 parent 5c9f266672
commit c60627c699
2 files changed
+39 -33

No files matched your search

+33 -9
View File
@@ -1,19 +1,43 @@
workflow "Tox" {
workflow "Python 3.7 - tox" {
on = "push"
resolves = ["Python 3.7", "Python 3.6", "Python 3.5"]
resolves = ["Python 3.7 - tests"]
}
action "Python 3.7" {
action "Python 3.7 - tests" {
uses = "home-assistant/actions/py37-tox@master"
args = "-e lint,pylint,typing,cov"
args = "-e py37"
}
action "Python 3.6" {
workflow "Python 3.6 - tox" {
on = "push"
resolves = ["Python 3.6 - tests"]
}
action "Python 3.6 - tests" {
uses = "home-assistant/actions/py36-tox@master"
args = "-e lint,pylint,typing"
args = "-e py36"
}
action "Python 3.5" {
uses = "home-assistant/actions/py35-tox@master"
args = "-e lint,pylint,typing"
workflow "Python 3.5 - tox" {
on = "push"
resolves = [
"Pyton 3.5 - typing,cov",
]
}
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,pylint -p all"
}
action "Pyton 3.5 - typing,cov" {
uses = "home-assistant/actions/py35-tox@master"
args = "-e typing,cov -p all"
needs = ["Python 3.5 - lints"]
}