Commit 48e5c472 authored by Rémy Coutable's avatar Rémy Coutable

Run coverage on 2-hour scheduled pipelines only

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5e090e9c
...@@ -224,7 +224,7 @@ gitlab:setup: ...@@ -224,7 +224,7 @@ gitlab:setup:
rspec:coverage: rspec:coverage:
extends: extends:
- .rails-job-base - .rails-job-base
- .rails:rules:ee-mr-and-master-only - .rails:rules:rspec-coverage
stage: post-test stage: post-test
# We cannot use needs since it would mean needing 84 jobs (since most are parallelized) # We cannot use needs since it would mean needing 84 jobs (since most are parallelized)
# so we use `dependencies` here. # so we use `dependencies` here.
......
...@@ -389,9 +389,7 @@ ...@@ -389,9 +389,7 @@
rules: rules:
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-dot-com-gitlab-org-master - <<: *if-master-schedule-2-hourly
changes: *code-backstage-qa-patterns
when: on_success
############ ############
# QA rules # # QA rules #
...@@ -544,6 +542,12 @@ ...@@ -544,6 +542,12 @@
- <<: *if-merge-request - <<: *if-merge-request
changes: *code-backstage-patterns changes: *code-backstage-patterns
.rails:rules:rspec-coverage:
rules:
- <<: *if-not-ee
when: never
- <<: *if-master-schedule-2-hourly
################## ##################
# Releases rules # # Releases rules #
################## ##################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment