-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving CI to github actions & trying to get it green
Some of the missing combinations in the matrix: * Ruby 3 with Rails 5.2 are skipped because my tests error when trying to start rails * Rspec-rails 3 with Rails 6.1 because of a rails change rspec-rails needs rspec/rspec-rails#2215 or the more recent rspec/rspec-rails#2461
- Loading branch information
1 parent
a3ccc6e
commit 0bd6f65
Showing
10 changed files
with
91 additions
and
88 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,71 @@ | ||
name: Ammeter CI | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'gitub-action-ci' | ||
pull_request: | ||
branches: | ||
- '*' | ||
jobs: | ||
test: | ||
name: 'Ruby: ${{ matrix.ruby }}, Rspec: ${{matrix.env.RSPEC_VERSION}}, Rails: ${{ matrix.env.RAILS_VERSION }}' | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ruby: 3.0 | ||
env: | ||
RSPEC_VERSION: 'master' | ||
RAILS_VERSION: '~> 6.1.0' | ||
- ruby: 3.0 | ||
env: | ||
RSPEC_VERSION: '~> 4.0' | ||
RAILS_VERSION: '~> 6.1.0' | ||
- ruby: 3.0 | ||
env: | ||
RSPEC_VERSION: '~> 4.0' | ||
RAILS_VERSION: '~> 6.0.0' | ||
- ruby: 3.0 | ||
env: | ||
RSPEC_VERSION: '~> 3.9' | ||
RAILS_VERSION: '~> 6.0.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: 'master' | ||
RAILS_VERSION: '~> 6.1.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: '~> 4.0' | ||
RAILS_VERSION: '~> 6.1.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: '~> 4.0' | ||
RAILS_VERSION: '~> 6.0.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: '~> 4.0' | ||
RAILS_VERSION: '~> 5.2.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: '~> 3.9' | ||
RAILS_VERSION: '~> 6.0.0' | ||
- ruby: 2.5 | ||
env: | ||
RSPEC_VERSION: '~> 3.9' | ||
RAILS_VERSION: '~> 5.2.0' | ||
- ruby: ruby-head | ||
env: | ||
RSPEC_VERSION: 'master' | ||
RAILS_VERSION: '~> 6.1.0' | ||
env: ${{ matrix.env }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle install | ||
- run: bundle exec rake ci | ||
continue-on-error: ${{ matrix.allow_failure || false }} |
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
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