Optimize testing
This commit is contained in:
14
.github/workflows/rubocop.yml
vendored
14
.github/workflows/rubocop.yml
vendored
@@ -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
|
||||
|
||||
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
||||
- trunk
|
||||
ruby:
|
||||
- v2.4
|
||||
- v2.5
|
||||
- v2.6
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user