Fix rubocop offense and enable jobs for qa

We could revisit which we don't want to run in qa.
This commit is contained in:
Lin Jen-Shin 2018-04-27 16:33:38 +08:00
parent 740f0bb126
commit 40366dd10b
4 changed files with 6 additions and 2 deletions

View file

@ -110,7 +110,7 @@ stages:
# Jobs that only need to pull cache
.dedicated-no-docs-pull-cache-job: &dedicated-no-docs-pull-cache-job
<<: *dedicated-runner
<<: *except-docs-and-qa
<<: *except-docs
<<: *pull-cache
dependencies:
- setup-test-env

View file

@ -3,7 +3,9 @@ module QA
module Repository
class Push < Factory::Base
attr_accessor :file_name, :file_content, :commit_message,
:branch_name, :new_branch, :remote_branch
:branch_name, :new_branch
attr_writer :remote_branch
dependency Factory::Resource::Project, as: :project do |project|
project.name = 'project-with-code'

View file

@ -1,3 +1,4 @@
# rubocop:disable Naming/FileName
module QA
module Runtime
module Key

View file

@ -1,3 +1,4 @@
# rubocop:disable Naming/FileName
module QA
module Runtime
module Key