Commit 7a8746cb authored by Sam Kerr's avatar Sam Kerr Committed by Bob Van Landuyt

Move fuzz license check to .pre stage

parent 511736f2
---
title: Move fuzz license check to .pre stage
merge_request: 48076
author:
type: fixed
......@@ -19,12 +19,6 @@ RSpec.describe 'Coverage-Fuzzing.gitlab-ci.yml' do
allow(project).to receive(:default_branch).and_return(default_branch)
end
context 'when project has no license' do
it 'includes job to display error' do
expect(build_names).to match_array(%w[coverage_fuzzing_unlicensed])
end
end
context 'when project has Ultimate license' do
let(:license) { create(:license, plan: License::ULTIMATE_PLAN) }
......
......@@ -12,7 +12,7 @@ variables:
coverage_fuzzing_unlicensed:
stage: test
stage: .pre
allow_failure: true
rules:
- if: $GITLAB_FEATURES !~ /\bcoverage_fuzzing\b/ && $COVFUZZ_DISABLED == null
......
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