-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-build
- Loading branch information
Showing
3 changed files
with
45 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: ['*'] | ||
pull_request: | ||
branches: ['*'] | ||
|
||
jobs: | ||
test_sqlite: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
### TEST ALL RUBY VERSIONS | ||
- ruby: 2.3 ### min version supported by Bundler 2.x, ruby: 2.3 | ||
- ruby: 2.4 | ||
- ruby: 2.5 | ||
- ruby: 2.6 | ||
- ruby: 2.7 | ||
- ruby: "3.0" ### must be quoted otherwise will be treated as "3" which resolves to latest 3.x version | ||
- ruby: 3.1 | ||
|
||
env: | ||
BUNDLE_GEMFILE: "${{ matrix.gemfile }}" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "${{ matrix.ruby }}" | ||
|
||
- name: Bundle | ||
run: | | ||
gem install bundler | ||
bundle install | ||
- name: Run tests | ||
run: | | ||
bundle exec rake |
This file was deleted.
Oops, something went wrong.
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