Skip to content

Commit b307827

Browse files
committed
test
1 parent 26df1fc commit b307827

7 files changed

Lines changed: 21 additions & 10 deletions

File tree

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ruby specs
1+
name: CI
22

33
on:
44
push:
@@ -11,33 +11,34 @@ permissions:
1111

1212
jobs:
1313
test:
14-
name: Ruby specs
14+
name: Ruby ${{ matrix.ruby-version }}, ${{ matrix.gemfile }}, PG ${{ postgres-version }}
1515
runs-on: ubuntu-latest
1616

1717
strategy:
1818
matrix:
1919
include:
2020
- ruby-version: '2.1'
2121
gemfile: rails_3.2
22-
postgres-version: 9
22+
postgres-version: 10
2323
- ruby-version: '2.1'
2424
gemfile: rails_4.0
25-
postgres-version: 9
25+
postgres-version: 10
2626
- ruby-version: '2.1'
2727
gemfile: rails_4.1
28-
postgres-version: 9
28+
postgres-version: 10
2929
- ruby-version: '2.1'
3030
gemfile: rails_4.2
3131
postgres-version: 12
3232

3333
- ruby-version: '2.2'
3434
gemfile: rails_3.2
35-
postgres-version: 9
35+
postgres-version: 10
3636
- ruby-version: '2.2'
3737
gemfile: rails_4.0
38-
postgres-version: 9
38+
postgres-version: 10
3939
- ruby-version: '2.2'
4040
gemfile: rails_4.1
41+
postgres-version: 10
4142
- ruby-version: '2.2'
4243
gemfile: rails_4.2
4344
postgres-version: 12
@@ -53,7 +54,7 @@ jobs:
5354

5455
- ruby-version: '2.3'
5556
gemfile: rails_3.2
56-
postgres-version: 12
57+
postgres-version: 10
5758
- ruby-version: '2.3'
5859
gemfile: rails_4.2
5960
postgres-version: 12
@@ -174,7 +175,7 @@ jobs:
174175
bundler-cache: true
175176
rubygems: ${{ steps.setup-params.outputs.version }}
176177

177-
- name: Run specs
178+
- name: Run Specs
178179
run: |
179180
bundle exec rspec
180181

Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,29 @@ appraise 'rails-4.1' do
1818
end
1919

2020
appraise 'rails-4.2' do
21+
gem 'bigdecimal', '< 2'
22+
gem 'loofah', '~> 2.20.0'
2123
gem 'rails', '~> 4.2.0'
2224
gem 'pg', '~> 0.21'
2325
gem 'term-ansicolor', '~> 1.7.0'
2426
end
2527

2628
appraise 'rails-5.0' do
29+
gem 'loofah', '~> 2.20.0'
2730
gem 'rails', '~> 5.0.0'
2831
gem 'pg', '~> 0.21'
2932
gem 'term-ansicolor', '~> 1.7.0'
3033
end
3134

3235
appraise 'rails-5.1' do
36+
gem 'loofah', '~> 2.20.0'
3337
gem 'rails', '~> 5.1.0'
3438
gem 'pg', '~> 0.21'
3539
gem 'term-ansicolor', '~> 1.7.0'
3640
end
3741

3842
appraise 'rails-5.2' do
43+
gem 'loofah', '~> 2.20.0'
3944
gem 'rails', '~> 5.2.0'
4045
gem 'term-ansicolor', '~> 1.7.0'
4146
end

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Eaco
22

3-
[![Ruby specs](https://github.com/ifad/eaco/actions/workflows/ruby.yml/badge.svg)](https://github.com/ifad/eaco/actions/workflows/ruby.yml)
3+
[![CI](https://github.com/ifad/eaco/actions/workflows/ci.yml/badge.svg)](https://github.com/ifad/eaco/actions/workflows/ci.yml)
44
[![Coverage Status](https://coveralls.io/repos/ifad/eaco/badge.svg)](https://coveralls.io/github/ifad/eaco)
55
[![Maintainability](https://qlty.sh/gh/ifad/projects/eaco/maintainability.svg)](https://qlty.sh/gh/ifad/projects/eaco)
66
[![Inline docs](https://inch-ci.org/github/ifad/eaco.svg?branch=master)](https://inch-ci.org/github/ifad/eaco)

gemfiles/rails_4.2.gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
source "https://rubygems.org"
44

5+
gem "bigdecimal", "< 2"
6+
gem "loofah", "~> 2.20.0"
57
gem "rails", "~> 4.2.0"
68
gem "pg", "~> 0.21"
79
gem "term-ansicolor", "~> 1.7.0"

gemfiles/rails_5.0.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "loofah", "~> 2.20.0"
56
gem "rails", "~> 5.0.0"
67
gem "pg", "~> 0.21"
78
gem "term-ansicolor", "~> 1.7.0"

gemfiles/rails_5.1.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "loofah", "~> 2.20.0"
56
gem "rails", "~> 5.1.0"
67
gem "pg", "~> 0.21"
78
gem "term-ansicolor", "~> 1.7.0"

gemfiles/rails_5.2.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "loofah", "~> 2.20.0"
56
gem "rails", "~> 5.2.0"
67
gem "term-ansicolor", "~> 1.7.0"
78

0 commit comments

Comments
 (0)