Skip to content

Commit

Permalink
CI: Add test with MODERNIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Jun 20, 2020
1 parent be6cc95 commit b7a0e04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rubocop.yml
Expand Up @@ -20,12 +20,14 @@ jobs:
ruby: [ 2.4, 2.5, 2.6, 2.7, head ]
rubocop: [ master ]
coverage: [ null ]
modern: [ null ]
title: [ null ]
include:
- { os: windows, rubocop: master, ruby: mingw }
- { rubocop: '0.84.0', ruby: 2.4, os: ubuntu }
- { rubocop: '0.84.0', ruby: head, os: ubuntu }
- { rubocop: '0.84.0', ruby: 2.4, os: ubuntu, coverage: true, title: 'Cov' }
- { rubocop: master, ruby: 2.7, os: ubuntu, modern: true, title: 'Modern' }

steps:
- name: windows misc
Expand Down Expand Up @@ -62,6 +64,9 @@ jobs:
with:
coverageCommand: bundle exec rake spec
debug: true
- name: Set modernize mode
if: matrix.modern == true
run: echo '::set-env name=MODERNIZE::true'
- name: spec
if: matrix.coverage != true
run: bundle exec rake spec
Expand Down

0 comments on commit b7a0e04

Please sign in to comment.