Added Test functionality to build.py

This commit is contained in:
Mirco 2024-06-25 07:29:04 +02:00
parent 15dc206830
commit 40c45f1b17

View file

@ -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