Advertisement
VladNitu

integration_test_on_ci/cd

Jun 4th, 2023
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.42 KB | None | 0 0
  1. stages:
  2.  - test
  3.  
  4. integration_tests:
  5.   stage: test
  6.   script:
  7.    - echo "Running integration tests..."
  8.     - # Add your Cypress test command here
  9.   rules:
  10.     - if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "merge_request_event"'
  11.       when: always
  12.     - if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "push"'
  13.       when: always
  14.     - if: '$CI_COMMIT_REF_NAME == "dev"'
  15.       when: never
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement