Added Test functionality to build.py
This commit is contained in:
parent
15dc206830
commit
40c45f1b17
1 changed files with 2 additions and 1 deletions
3
build.py
3
build.py
|
@ -1,4 +1,5 @@
|
||||||
from os import environ
|
from os import environ
|
||||||
|
from subprocess import run
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pybuilder.core import task, init
|
from pybuilder.core import task, init
|
||||||
from ddadevops import *
|
from ddadevops import *
|
||||||
|
@ -45,7 +46,7 @@ def drun(project):
|
||||||
@task
|
@task
|
||||||
def test(project):
|
def test(project):
|
||||||
build = get_devops_build(project)
|
build = get_devops_build(project)
|
||||||
build.test()
|
run("MEMBERNAMES=ALex,Flori ./gradlew test", shell=True, check=True)
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
|
|
Loading…
Reference in a new issue