Skip to content

Commit 9306bdc

Browse files
committed
only run Cypress tests for commits to main, for now
1 parent eb212a2 commit 9306bdc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ stages:
55
run_cypress_tests:
66
image: cypress/browsers:node12.14.1-chrome85-ff81
77
stage: test
8+
rules:
9+
- if: '$CI_COMMIT_REF_NAME == "main"'
10+
changes:
11+
- apps/**/*
812
rules:
913
- changes:
1014
- apps/model_catalog/**/*

0 commit comments

Comments
 (0)