Optimize testing

This commit is contained in:
Alexander Meindl
2020-03-26 07:53:31 +01:00
parent e25d02a110
commit 73a623c791
2 changed files with 6 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
name: Run RuboCop
on:
push:
pull_request:
on: [push]
jobs:
test:
build:
runs-on: ubuntu-latest
steps:
@@ -18,7 +18,7 @@ jobs:
- name: Set Gemfile
run: |
echo "">> Gemfile
echo "group :development, :test do">> Gemfile
echo "group :test do">> Gemfile
echo " gem 'rubocop', require: false" >> Gemfile
echo " gem 'rubocop-performance', require: false" >> Gemfile
echo " gem 'rubocop-rails', require: false" >> Gemfile
@@ -31,6 +31,4 @@ jobs:
- name: Run RuboCop
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rubocop
bundle exec rubocop -S

View File

@@ -17,7 +17,6 @@ jobs:
- trunk
ruby:
- v2.4
- v2.5
- v2.6
steps: