File tree 3 files changed +12
-8
lines changed
3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,17 @@ jobs:
29
29
ruby-version : ${{ matrix.ruby-version }}
30
30
bundler-cache : true
31
31
32
+ - name : Run Rubocop
33
+ run : bundle exec rake rubocop
34
+ # code style is enough to check once (and might even take some time on JRuby)
35
+ if : matrix.ruby-version == '3.3'
36
+
32
37
- name : Run tests
33
- run : bundle exec rake
38
+ run : bundle exec rake test
34
39
if : matrix.ruby-version != 'truffleruby'
35
40
36
- # Run only `rake spec` on truffleruby, because just `rake` runs `rubocop spec cucumber`.
37
- # There is no value to rerun rubocop here.
38
- # cucumber fails because it uses an old childprocess which depends on fork.
41
+ # Run only `rake spec` on truffleruby, because just `rake` runs cucumber
42
+ # which fails because it uses an old childprocess which depends on fork.
39
43
- name : Run specs (truffleruby)
40
44
run : bundle exec rake spec
41
45
if : matrix.ruby-version == 'truffleruby'
Original file line number Diff line number Diff line change @@ -28,12 +28,11 @@ jobs:
28
28
bundler-cache : true
29
29
30
30
- name : Run tests
31
- run : bundle exec rake
31
+ run : bundle exec rake test
32
32
if : matrix.ruby-version != 'truffleruby-head'
33
33
34
- # Run only `rake spec` on truffleruby, because just `rake` runs `rubocop spec cucumber`.
35
- # There is no value to rerun rubocop here.
36
- # cucumber fails because it uses an old childprocess which depends on fork.
34
+ # Run only `rake spec` on truffleruby, because just `rake` runs cucumber
35
+ # which fails because it uses an old childprocess which depends on fork.
37
36
- name : Run specs (truffleruby)
38
37
run : bundle exec rake spec
39
38
if : matrix.ruby-version == 'truffleruby-head'
Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ Cucumber::Rake::Task.new do |t|
29
29
t . cucumber_opts = %w[ --retry 3 --no-strict-flaky ]
30
30
end
31
31
32
+ task test : %i[ spec cucumber ]
32
33
task default : %i[ rubocop spec cucumber ]
You can’t perform that action at this time.
0 commit comments