Skip to content

Commit

Permalink
gitlab-ci: only run python authn tests on build success
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Koo <[email protected]>

 #Signed-off-by: Ryan Koo <[email protected]>
  • Loading branch information
rkoo19 committed Sep 5, 2024
1 parent ff86dae commit ace4bce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ace4bce

Please sign in to comment.