Skip to content

Commit fe3c50a

Browse files
committed
2 parents 79ce18c + 70aba78 commit fe3c50a

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,22 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.4.x', '2.5.x', '2.6.x']
17+
ruby: ['2.4', '2.5', '2.6']
1818

1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v1
2222

2323
- name: Setup Ruby
24-
uses: actions/setup-ruby@v1
24+
uses: ruby/setup-ruby@v1
2525
with:
2626
ruby-version: ${{ matrix.ruby }}
27+
bundler-cache: true
2728

2829
- name: Install sqlite
2930
run: |
3031
sudo apt-get install libsqlite3-dev
3132
32-
- name: Update System
33-
run: |
34-
gem update --system --no-document
35-
36-
- name: Bundle install for Annotate models
37-
run: |
38-
bundle install --jobs=4 --retry=3
39-
4033
- name: Run Tests
4134
run: INTEGRATION_TESTS=1 bundle exec rspec
4235

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ rvm:
77
env:
88
- RAILS_ENV=development RACK_ENV=development INTEGRATION_TESTS=1
99

10+
cache: bundler
11+
1012
addons:
1113
apt_packages:
1214
- libsqlite3-dev

spec/lib/annotate/annotate_models_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ class FooWithKnownMacro < ActiveRecord::Base
19711971
end
19721972
end
19731973

1974-
context 'when the file includes invlaid multibyte chars (USASCII)' do
1974+
context 'when the file includes invalid multibyte chars (USASCII)' do
19751975
context 'when class FooWithUtf8 is defined in "foo_with_utf8.rb"' do
19761976
let :filename do
19771977
'foo_with_utf8.rb'

0 commit comments

Comments
 (0)