diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/yaml_processor_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/yaml_processor_spec.rb b/spec/lib/gitlab/ci/yaml_processor_spec.rb index 13113a4671a..2d24a11b52b 100644 --- a/spec/lib/gitlab/ci/yaml_processor_spec.rb +++ b/spec/lib/gitlab/ci/yaml_processor_spec.rb @@ -156,6 +156,8 @@ module Gitlab when: "on_success", yaml_variables: [], options: { script: ["rspec"] }, + global_only: { refs: ["branches", "tags"] }, + global_except: {}, only: { refs: ["branches"] }, except: {} }] }, { name: "deploy", @@ -168,6 +170,8 @@ module Gitlab when: "on_success", yaml_variables: [], options: { script: ["cap prod"] }, + global_only: { refs: ["branches", "tags"] }, + global_except: {}, only: { refs: ["tags"] }, except: {} }] }] end |