Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stages:
- - test
- integration_tests:
- stage: test
- script:
- - echo "Running integration tests..."
- - # Add your Cypress test command here
- rules:
- - if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "merge_request_event"'
- when: always
- - if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "push"'
- when: always
- - if: '$CI_COMMIT_REF_NAME == "dev"'
- when: never
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement