Commit 738cd4cb authored by norvell's avatar norvell
Browse files

Change rules for MRs to main

parent e33432a0
Loading
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -180,6 +180,16 @@ stages:
    - if: $CI_PIPELINE_SOURCE == 'schedule'
      when: never

.rules-pytest-to-ref-short-dec:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "pytest-compare"
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "main"
    - if: $CI_PIPELINE_SOURCE == 'push'
      when: never
    - if: $CI_PIPELINE_SOURCE == 'schedule'
      when: never

.rules-pytest-to-input-short:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "pytest-compare-to-input"
@@ -801,7 +811,7 @@ ivas-pytest-enc-usan:
### jobs that test flt encoder -> fx decoder
ivas-pytest-compare_to_ref-short-dec:
  extends:
    - .rules-pytest-to-ref-short
    - .rules-pytest-to-ref-short-dec
    - .test-job-linux    
  before_script:
    - USE_LTV=0
@@ -813,7 +823,7 @@ ivas-pytest-compare_to_ref-short-dec:
  
ivas-pytest-compare_to_ref-short-dec-lev-10:
  extends:
    - .rules-pytest-to-ref-short
    - .rules-pytest-to-ref-short-dec
    - .test-job-linux    
  before_script:
    - USE_LTV=0  
@@ -825,7 +835,7 @@ ivas-pytest-compare_to_ref-short-dec-lev-10:
  
ivas-pytest-compare_to_ref-short-dec-lev+10:
  extends:
    - .rules-pytest-to-ref-short
    - .rules-pytest-to-ref-short-dec
    - .test-job-linux    
  before_script:
    - USE_LTV=0