From ace4bce227e4a373e2732b789e15851be7c8d42d Mon Sep 17 00:00:00 2001 From: Ryan Koo Date: Thu, 5 Sep 2024 16:40:19 -0400 Subject: [PATCH] gitlab-ci: only run python authn tests on build success Signed-off-by: Ryan Koo #Signed-off-by: Ryan Koo --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdbb178450b..cf02d8c9749 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -470,13 +470,13 @@ test:short:python-authn: - if: '$CI_MERGE_REQUEST_LABELS =~ /.*authn.*/' changes: - python/aistore/sdk/authn/**/* - - python/aistore/tests/integration/sdk/authn/**/* - when: always + - python/tests/integration/sdk/authn/**/* + when: on_success - if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == "main"' changes: - python/aistore/sdk/authn/**/* - - python/aistore/tests/integration/sdk/authn/**/* - when: always + - python/tests/integration/sdk/authn/**/* + when: on_success - if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == "main"' when: manual allow_failure: true