1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

use codeclimate to run rubocop

This commit is contained in:
Sylvain 2022-07-13 16:54:41 +02:00
parent cd93af1b5f
commit b8f097cf7c
2 changed files with 9 additions and 8 deletions

5
.codeclimate.yml Normal file
View File

@ -0,0 +1,5 @@
plugins:
rubocop:
enabled: true
config:
file: .rubocop.yml

View File

@ -1,8 +1,4 @@
rubocop:
stage: test
only:
- dev
image: sleede/rubocop-fm:latest
script:
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
include:
- template: Code-Quality.gitlab-ci.yml
stages:
- test