Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split lint and test Github actions #2040

Merged
merged 1 commit into from Jun 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ruby.yml
Expand Up @@ -14,6 +14,20 @@ on:
branches: [ master ]

jobs:
lint:
name: Rubocop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: Install dependencies
run: bundle install

- name: Run Rubocop
run: bundle exec rake rubocop
test:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,7 +58,7 @@ jobs:
./cc-test-reporter before-build

- name: Run tests
run: bundle exec rake
run: bundle exec rake test

- name: Publish code coverage
env:
Expand Down