-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Old ruby versions are returning too much segmentation faults
- Loading branch information
Showing
3 changed files
with
88 additions
and
92 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,86 @@ | ||
name: Legacy Ruby specs | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
name: Legacy Ruby specs | ||
runs-on: ubuntu-18.04 | ||
|
||
strategy: | ||
matrix: | ||
ruby-version: ['2.2.10', '2.3.8', '2.4.10', '2.5.9'] | ||
gemfile: [am_3.2, am_4.0, am_4.1, am_4.2, am_5.0, am_5.1, am_5.2, am_6.0, am_6.1] | ||
experimental: [false] | ||
|
||
include: | ||
# Ruby 2.1.10 is not available on GitHub Actions' ubuntu-20.04 | ||
# Ruby 2.1.9 returns segmentation faults, so this is marked as | ||
# experimental | ||
- ruby-version: '2.1.9' | ||
gemfile: am_3.2 | ||
experimental: true | ||
- ruby-version: '2.1.9' | ||
gemfile: am_4.0 | ||
experimental: true | ||
- ruby-version: '2.1.9' | ||
gemfile: am_4.1 | ||
experimental: true | ||
- ruby-version: '2.1.9' | ||
gemfile: am_4.2 | ||
experimental: true | ||
|
||
exclude: | ||
- ruby-version: '2.2.10' | ||
gemfile: am_6.0 | ||
- ruby-version: '2.2.10' | ||
gemfile: am_6.1 | ||
|
||
- ruby-version: '2.3.8' | ||
gemfile: am_4.0 | ||
- ruby-version: '2.3.8' | ||
gemfile: am_4.1 | ||
- ruby-version: '2.3.8' | ||
gemfile: am_6.0 | ||
- ruby-version: '2.3.8' | ||
gemfile: am_6.1 | ||
|
||
- ruby-version: '2.4.10' | ||
gemfile: am_3.2 | ||
- ruby-version: '2.4.10' | ||
gemfile: am_4.0 | ||
- ruby-version: '2.4.10' | ||
gemfile: am_4.1 | ||
- ruby-version: '2.4.10' | ||
gemfile: am_6.0 | ||
- ruby-version: '2.4.10' | ||
gemfile: am_6.1 | ||
|
||
- ruby-version: '2.5.9' | ||
gemfile: am_3.2 | ||
- ruby-version: '2.5.9' | ||
gemfile: am_4.0 | ||
- ruby-version: '2.5.9' | ||
gemfile: am_4.1 | ||
- ruby-version: '2.5.9' | ||
gemfile: am_4.2 | ||
|
||
env: | ||
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | ||
TEST_CONFIG: ./spec/config.github.yml | ||
|
||
continue-on-error: ${{ matrix.experimental }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Run specs | ||
run: bundle exec rake spec |
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