From 646d73a9565516ecd57f0fdf83d12fbbf3cab06a Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 22 Mar 2020 15:16:20 +0100 Subject: [PATCH] No need to run RuboCop on non-MRI implementations * This should speed up CI a bit for those jobs. --- .github/workflows/ruby.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 1cf7f580bc..2beecd0d60 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -42,9 +42,13 @@ jobs: - name: compile run: bundle exec rake compile + - name: rubocop + if: startsWith(matrix.ruby, '2.') + run: bundle exec rake rubocop + - name: test timeout-minutes: 8 - run: bundle exec rake + run: bundle exec rake test:all win32: name: >-