From 556161be324203c0e0128e6ebf2334e45d0d0a37 Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Wed, 14 Dec 2022 12:57:13 +0300 Subject: [PATCH] Fix make recipe mapping in test runner (#6561) --- .github/workflows/packaging-test-pipelines.yml | 2 ++ src/test/regress/citus_tests/run_test.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/packaging-test-pipelines.yml b/.github/workflows/packaging-test-pipelines.yml index f79619b21..5b16466f9 100644 --- a/.github/workflows/packaging-test-pipelines.yml +++ b/.github/workflows/packaging-test-pipelines.yml @@ -3,6 +3,8 @@ name: Build tests in packaging images on: push: branches: "**" + pull_request: + types: [opened, reopened,synchronize] workflow_dispatch: diff --git a/src/test/regress/citus_tests/run_test.py b/src/test/regress/citus_tests/run_test.py index 04e32f313..9048f595e 100755 --- a/src/test/regress/citus_tests/run_test.py +++ b/src/test/regress/citus_tests/run_test.py @@ -98,7 +98,7 @@ with open(tmp_schedule_path, "a") as myfile: # find suitable make recipe if "isolation" in test_schedule: make_recipe = 'check-isolation-custom-schedule' -if "failure" in test_schedule: +elif "failure" in test_schedule: make_recipe = 'check-failure-custom-schedule' else: make_recipe = 'check-custom-schedule'