-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In late 2020, Travis CI decided to discontinue unlimited free builds for public projects. While they still hand out free build minutes for opensource project, they do this through an application process, thereby making it difficult to quickly contribure: https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works Since GitHub Actions still allows unlimited build time for public project, it became the go-to CI for opensource projects on GitHub. We also update the test build to include Rails 6 and 7.
- Loading branch information
Showing
12 changed files
with
123 additions
and
59 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,2 @@ | ||
--- | ||
BUNDLE_GITHUB__HTTPS: "true" |
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,76 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
matrix: | ||
ruby: | ||
- ruby-head | ||
- jruby-head | ||
rails: | ||
- 7 | ||
- master | ||
rails_api_only: | ||
- 0 | ||
- 1 | ||
jruby_ar_jdbc_adapter_version: | ||
- v70.0.pre | ||
experimental: | ||
- true | ||
include: | ||
- ruby: 2.7 | ||
rails: 5 | ||
rails_api_only: 0 | ||
experimental: false | ||
- ruby: 2.7 | ||
rails: 5 | ||
rails_api_only: 1 | ||
experimental: false | ||
- ruby: 2.7 | ||
rails: 6 | ||
rails_api_only: 0 | ||
experimental: false | ||
- ruby: 2.7 | ||
rails: 6 | ||
rails_api_only: 1 | ||
experimental: false | ||
- ruby: 3.1 | ||
rails: 7 | ||
rails_api_only: 0 | ||
experimental: false | ||
- ruby: 3.1 | ||
rails: 7 | ||
rails_api_only: 1 | ||
experimental: false | ||
- ruby: jruby-9.1 | ||
rails: 5 | ||
rails_api_only: 0 | ||
jruby_ar_jdbc_adapter_version: v52.8 | ||
experimental: false | ||
- ruby: jruby-9.2 | ||
rails: 6 | ||
rails_api_only: 0 | ||
jruby_ar_jdbc_adapter_version: v60.0 | ||
experimental: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
env: | ||
RAILS_VERSION: ${{ matrix.rails }} | ||
RAILS_API_ONLY: ${{ matrix.rails_api_only }} | ||
JRUBY_AR_JDBC_ADAPTER_VERSION: ${{ matrix.jruby_ar_jdbc_adapter_version }} | ||
- run: bundle exec rake | ||
env: | ||
RAILS_VERSION: ${{ matrix.rails }} | ||
RAILS_API_ONLY: ${{ matrix.rails_api_only }} | ||
JRUBY_AR_JDBC_ADAPTER_VERSION: ${{ matrix.jruby_ar_jdbc_adapter_version }} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
*.gem | ||
.bundle | ||
Gemfile.lock | ||
|
||
pkg/* | ||
tmp/* |
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
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
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
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
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
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
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
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
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