File tree Expand file tree Collapse file tree 4 files changed +43
-84
lines changed
Expand file tree Collapse file tree 4 files changed +43
-84
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+ schedule :
9+ - cron : ' 0 6 * * *'
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ ruby-version : ['2.6', '2.7', '3.0']
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Set up Ruby
22+ uses : ruby/setup-ruby@v1
23+ with :
24+ ruby-version : ${{ matrix.ruby-version }}
25+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
26+ - name : Run tests
27+ run : bundle exec rake
Original file line number Diff line number Diff line change 11---
22AllCops :
33 Exclude :
4- - Gemfile
5- - Rakefile
6- - ' test/**/*'
7- - ' vendor/**/*'
4+ - vendor/**/*
85Documentation :
96 Enabled : false
10- AlignParameters :
7+ Layout/ParameterAlignment :
118 Enabled : true
12- Encoding :
13- Enabled : false
149HashSyntax :
1510 Enabled : true
1611LineLength :
1712 Enabled : false
18- Layout/IndentHeredoc :
19- Enabled : false
2013EmptyLinesAroundBlockBody :
2114 Enabled : false
22- Style/FormatStringToken :
23- Enabled : false
24- Layout/EmptyLineAfterMagicComment :
15+ Style/Encoding :
2516 Enabled : false
2617MethodLength :
2718 Max : 40
2819NumericLiterals :
2920 MinDigits : 10
21+ Metrics/BlockLength :
22+ Max : 35
3023Metrics/CyclomaticComplexity :
3124 Max : 10
3225Metrics/PerceivedComplexity :
33- Max : 11
26+ Max : 10
3427Metrics/AbcSize :
35- Max : 33
36- Style/PercentLiteralDelimiters :
37- PreferredDelimiters :
38- ' % ' : ' {}'
39- ' %i ' : ()
40- ' %q ' : ' {}'
41- ' %Q ' : ()
42- ' %r ' : ' {}'
43- ' %s ' : ()
44- ' %w ' : ' {}'
45- ' %W ' : ()
46- ' %x ' : ()
47- Layout/AlignHash :
48- Enabled : false
49- Naming/PredicateName :
50- Enabled : false
51- Style/ZeroLengthPredicate :
52- Enabled : false
53- Style/NumericPredicate :
54- Enabled : false
55- Style/ClassAndModuleChildren :
56- Enabled : false
57- Style/ConditionalAssignment :
58- Enabled : false
59- Style/BracesAroundHashParameters :
60- Enabled : false
61- Style/AndOr :
62- Enabled : false
63- Style/Not :
64- Enabled : false
65- Naming/FileName :
66- Enabled : false
67- Style/TrailingCommaInHashLiteral :
68- EnforcedStyleForMultiline : comma
69- Style/TrailingCommaInArrayLiteral :
70- EnforcedStyleForMultiline : comma
71- Style/TrailingCommaInArguments :
72- EnforcedStyleForMultiline : comma
73- Style/NegatedIf :
74- Enabled : false
75- Style/UnlessElse :
76- Enabled : false
77- BlockDelimiters :
78- Enabled : false
79- Layout/SpaceAroundOperators :
80- Enabled : false
81- Style/IfUnlessModifier :
82- Enabled : false
83- Style/StderrPuts :
84- Enabled : false
28+ Max : 30
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33source 'https://rubygems.org'
44
5- gem 'rake' , '~> 12.3.2'
6- gem 'rack' , '~> 2.0.7'
7- gem 'inspec' , '~> 3'
8- gem 'highline' , '~> 2.0.2'
9- gem 'rubocop' , '~> 0.68.1'
5+ gem 'highline'
6+ gem 'rack'
7+ gem 'rake'
8+ gem 'rubocop'
109
11- group :integration do
12- gem 'berkshelf'
13- gem 'kitchen-inspec'
14- gem 'test-kitchen'
15- gem 'kitchen-docker'
10+ group :tools do
11+ gem 'github_changelog_generator'
12+ gem 'pry-coolline'
1613end
1714
18- group :tools do
19- gem 'github_changelog_generator' , '~> 1.14.3'
20- gem 'pry-coolline' , '~> 0.2.5'
15+ source 'https://packagecloud.io/cinc-project/stable' do
16+ gem 'cinc-auditor-bin'
2117end
You can’t perform that action at this time.
0 commit comments