This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d976f8b
commit 368123b
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,13 @@ jobs: | |
matrix: | ||
include: | ||
### TEST ALL RUBY VERSIONS, USE DEFAULT GEMFILE | ||
- ruby: 2.3 | ||
- ruby: 2.3 ### min version supported by Bundler 2.x | ||
- ruby: 2.4 | ||
- ruby: 2.5 | ||
- ruby: 2.6 | ||
- ruby: 2.7 | ||
- ruby: 3.0 | ||
- ruby: "3.0" ### must be quoted otherwise will be treated as "3" which will resolve to latest 3.x version | ||
- ruby: 3.1 | ||
|
||
### RAILS VERSION TESTING | ||
- ruby: 2.6 | ||
|
@@ -31,7 +32,7 @@ jobs: | |
gemfile: gemfiles/rails_6.0.sqlite3.gemfile | ||
- ruby: 2.6 | ||
gemfile: gemfiles/rails_6.1.sqlite3.gemfile | ||
- ruby: 3.0 | ||
- ruby: "3.0" | ||
gemfile: gemfiles/rails_7.0.sqlite3.gemfile | ||
|
||
env: | ||
|
@@ -47,12 +48,11 @@ jobs: | |
|
||
- name: Bundle | ||
run: | | ||
gem install bundler:1.17.3 | ||
bundle _1.17.3_ install | ||
gem install bundler | ||
bundle install | ||
- name: Run tests | ||
run: | | ||
#bundle exec rake db:test:prepare | ||
bundle exec rake | ||
|
@@ -83,7 +83,7 @@ jobs: | |
gemfile: gemfiles/rails_6.0.mysql2.gemfile | ||
- ruby: 2.6 | ||
gemfile: gemfiles/rails_6.1.mysql2.gemfile | ||
- ruby: 3.0 | ||
- ruby: "3.0" | ||
gemfile: gemfiles/rails_7.0.mysql2.gemfile | ||
|
||
env: | ||
|
@@ -98,15 +98,14 @@ jobs: | |
|
||
- name: Bundle | ||
run: | | ||
gem install bundler:1.17.3 | ||
bundle _1.17.3_ install | ||
gem install bundler | ||
bundle install | ||
- name: Run tests | ||
env: | ||
DATABASE_URL: mysql2://root:[email protected]:3306/test | ||
RAILS_ENV: test | ||
run: | | ||
#bundle exec rake db:test:prepare | ||
bundle exec rake | ||
|
@@ -137,7 +136,7 @@ jobs: | |
gemfile: gemfiles/rails_6.0.pg.gemfile | ||
- ruby: 2.6 | ||
gemfile: gemfiles/rails_6.1.pg.gemfile | ||
- ruby: 3.0 | ||
- ruby: "3.0" | ||
gemfile: gemfiles/rails_7.0.pg.gemfile | ||
|
||
env: | ||
|
@@ -153,13 +152,12 @@ jobs: | |
|
||
- name: Bundle | ||
run: | | ||
gem install bundler:1.17.3 | ||
bundle _1.17.3_ install | ||
gem install bundler | ||
bundle install | ||
- name: Run tests | ||
env: | ||
DATABASE_URL: postgres://postgres:password@localhost:5432/test | ||
RAILS_ENV: test | ||
run: | | ||
#bundle exec rails db:test:prepare | ||
bundle exec rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters