forked from translation/rails
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into ualbertalib-master
- Loading branch information
Showing
41 changed files
with
924 additions
and
292 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,58 @@ | ||
name: Build Status | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- '2.3' | ||
- '2.4' | ||
- '2.5' | ||
- '2.6' | ||
- '2.7' | ||
- '3.0' | ||
- '3.1' | ||
- '3.2' | ||
- '3.3.0-preview1' | ||
- 'jruby-9.1.17.0' | ||
gemfile: | ||
- lowest | ||
- latest | ||
exclude: | ||
# Ruby > 2.6 removed BigDecimal.new which was used on Rails 4.1 (removed with Rails 4.2 though) | ||
- ruby: '2.7' | ||
gemfile: lowest | ||
- ruby: '3.0' | ||
gemfile: lowest | ||
- ruby: '3.1' | ||
gemfile: lowest | ||
- ruby: '3.2' | ||
gemfile: lowest | ||
- ruby: '3.3.0-preview1' | ||
gemfile: lowest | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
CC_TEST_REPORTER_ID: 945dfb58a832d233a3caeb84e3e6d3be212e8c7abcb48117fce63b9adcb43647 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Bundler 1.x for Rails 4.x | ||
if: ${{ matrix.gemfile == 'lowest' }} | ||
run: echo "BUNDLER_VERSION=1.17.3" >> $GITHUB_ENV | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true # runs bundle install and caches installed gems automatically | ||
bundler: ${{ env.BUNDLER_VERSION || 'latest' }} | ||
- run: ruby --version | ||
- name: Run specs | ||
run: bundle exec rspec | ||
- name: Publish code coverage | ||
if: ${{ matrix.ruby == '3.1' && matrix.gemfile == 'latest' }} # only one is needed! | ||
uses: paambaati/codeclimate-action@v3.0.0 | ||
with: | ||
debug: true | ||
verifyDownload: 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 |
---|---|---|
|
@@ -7,3 +7,4 @@ coverage | |
Gemfile.lock | ||
.ruby-version | ||
.bundle | ||
RELEASE.md |
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
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
Oops, something went wrong.