Skip to content

Commit fa1567a

Browse files
authored
Merge pull request #44 from blocknotes/test/update-test-suite-config
test: update test suite config
2 parents 35e5a7e + e7d3e70 commit fa1567a

14 files changed

Lines changed: 1057 additions & 973 deletions

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Ruby
2020
uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: '2.7'
22+
ruby-version: '3.0'
2323
bundler-cache: true
2424

2525
- name: Set up Reviewdog

.github/workflows/specs_mysql_61.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
ruby: ['2.7', '3.0']
16+
ruby: ['3.0', '3.1', '3.2']
1717
gemfile: ['rails_6_1_mysql']
1818

1919
env:

.github/workflows/specs_mysql_70.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
ruby: ['3.0', '3.2']
16+
ruby: ['3.0', '3.1', '3.2']
1717
gemfile: ['rails_7_0_mysql']
1818

1919
env:

.github/workflows/specs_postgres_61.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
ruby: ['2.7', '3.0']
16+
ruby: ['3.0', '3.1', '3.2']
1717
gemfile: ['rails_6_1_postgres']
1818

1919
env:

.github/workflows/specs_postgres_70.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
ruby: ['3.0', '3.2']
16+
ruby: ['3.0', '3.1', '3.2']
1717
gemfile: ['rails_7_0_postgres']
1818

1919
env:

extra/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ bin/appraisal
1111
## Local tests
1212

1313
```sh
14-
# Running tests on Rails 6.0:
15-
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rails db:test:prepare
16-
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rspec
17-
1814
# Running tests on Rails 6.1:
1915
DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rails db:test:prepare
2016
DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rspec
@@ -23,6 +19,10 @@ DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rspec
2319
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:test:prepare
2420
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rspec
2521

22+
# Running tests on Rails 7.1:
23+
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_1-postgres rails db:test:prepare
24+
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_1-postgres rspec
25+
2626
# Eventually recreate the DB:
2727
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:drop db:create db:migrate
2828
```

0 commit comments

Comments
 (0)