-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing specs and replace TravisCI with GitHub Actions (#357)
* Fix failing specs * Add GitHub Actions CI workflow * Remove TravisCI * Replace TravisCI badge with GitHub Actions * An older Ubuntu is needed for Ruby 2.2 * Adopt fix proposed by #356
- Loading branch information
1 parent
34919d7
commit a94d6ed
Showing
6 changed files
with
46 additions
and
11 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,41 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
spec: | ||
name: "RSpec / Ruby ${{ matrix.ruby }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: | ||
[ | ||
"2.3", | ||
"2.4", | ||
"2.5", | ||
"2.6", | ||
"2.7", | ||
"3.0", | ||
"3.1", | ||
"3.2" | ||
] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rake spec | ||
spec-legacy: | ||
name: "RSpec / Ruby 2.2" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.2 | ||
bundler-cache: true | ||
- name: rake spec | ||
run: bundle exec rake spec |
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