Skip to content

Commit

Permalink
run tests on test images
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Aug 21, 2022
1 parent 8aafb90 commit 4ae9778
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def main(ctx):
gui_tests_format(build_trigger) + \
check_starlark(build_trigger) + \
changelog(ctx, trigger = build_trigger) + \
unit_test_pipeline(ctx, "clang", "clang++", "Debug", "Ninja", trigger = build_trigger)
unit_test_pipeline(ctx, "clang", "clang++", "Debug", "Ninja", trigger = build_trigger) + \
gui_test_pipeline(ctx, trigger = build_trigger, version = "latest")
# owncloudci/squish image is not working as expected
# Skipping GUI test pipeline until the following issue is resolved:
# https://github.com/owncloud-ci/squish/issues/34
Expand Down Expand Up @@ -210,7 +211,7 @@ def build_client(c_compiler, cxx_compiler, build_type, generator, build_command,
return [
{
"name": "generate",
"image": OC_CI_CLIENT,
"image": "sawjan/client-fedora",
"environment": {
"LC_ALL": "C.UTF-8",
},
Expand All @@ -222,7 +223,7 @@ def build_client(c_compiler, cxx_compiler, build_type, generator, build_command,
},
{
"name": build_command,
"image": OC_CI_CLIENT,
"image": "sawjan/client-fedora",
"environment": {
"LC_ALL": "C.UTF-8",
},
Expand Down Expand Up @@ -253,7 +254,7 @@ def unit_tests(build_dir, depends_on = []):
def gui_tests(squish_parameters = "", depends_on = []):
return [{
"name": "GUItests",
"image": OC_CI_SQUISH,
"image": "sawjan/squish-fedora",
"environment": {
"LICENSEKEY": from_secret("squish_license_server"),
"GUI_TEST_REPORT_DIR": GUI_TEST_REPORT_DIR,
Expand Down

0 comments on commit 4ae9778

Please sign in to comment.