-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
➕ gem "appraisal", github: "pboling/appraisal", branch: "galtzo"
- Loading branch information
Showing
62 changed files
with
1,672 additions
and
155 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Targets the evergreen latest release of ruby, truffleruby, and jruby | ||
name: Current | ||
|
||
env: | ||
K_SOUP_COV_DO: false | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
tags: | ||
- '!*' # Do not execute on tags | ||
pull_request: | ||
branches: | ||
- '*' | ||
# Allow manually triggering the workflow. | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
# Cancels all previous workflow runs for the same branch that have not yet completed. | ||
concurrency: | ||
# The concurrency group contains the workflow name and the branch name. | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: Specs ${{ matrix.ruby }}@${{ matrix.name_extra || '' }} | ||
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')" | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }} | ||
env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile | ||
strategy: | ||
matrix: | ||
include: | ||
# Ruby 3.4 | ||
- ruby: "ruby" | ||
appraisal: "ruby-current" | ||
exec_cmd: "rake spec" | ||
gemfile: "Appraisal.root" | ||
rubygems: latest | ||
bundler: latest | ||
name_extra: "ruby-3.4" # NOTE: This will become out of date! | ||
|
||
# truffleruby-24.1 (targets Ruby 3.3.5 compatibility) | ||
- ruby: "truffleruby" | ||
appraisal: "ruby-current" | ||
exec_cmd: "rake spec" | ||
gemfile: "Appraisal.root" | ||
rubygems: default | ||
bundler: default | ||
name_extra: "truffleruby-24.1" # NOTE: This will become out of date! | ||
|
||
# jruby-9.4 (targets Ruby 3.1 compatibility) | ||
- ruby: "jruby" | ||
appraisal: "ruby-current" | ||
exec_cmd: "rake spec" | ||
gemfile: "Appraisal.root" | ||
rubygems: default | ||
bundler: default | ||
name_extra: "jruby-9.4" # NOTE: This will become out of date! | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Ruby & RubyGems | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
rubygems: ${{ matrix.rubygems }} | ||
bundler: ${{ matrix.bundler }} | ||
bundler-cache: false | ||
|
||
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root) | ||
# We need to do this first to get appraisal installed. | ||
# NOTE: This does not use the main Gemfile at all. | ||
- name: Install Root Appraisal | ||
run: bundle | ||
- name: Appraisal for ${{ matrix.appraisal }} | ||
run: bundle exec appraisal ${{ matrix.appraisal }} bundle | ||
- name: Tests for ${{ matrix.ruby }}@${{ matrix.name_extra }} via ${{ matrix.exec_cmd }} | ||
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# NOTE: Hoary is a synonym of ancient | ||
name: MRI 2.2 (EOL) | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
tags: | ||
- '!*' # Do not execute on tags | ||
pull_request: | ||
branches: | ||
- '*' | ||
# Allow manually triggering the workflow. | ||
workflow_dispatch: | ||
|
||
# Cancels all previous workflow runs for the same branch that have not yet completed. | ||
concurrency: | ||
# The concurrency group contains the workflow name and the branch name. | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }} | ||
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')" | ||
runs-on: ubuntu-20.04 | ||
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }} | ||
env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
# Ruby 2.2 | ||
- ruby: "2.2" | ||
appraisal: "ruby-2-2" | ||
exec_cmd: "rake spec" | ||
gemfile: "Appraisal.root" | ||
rubygems: default | ||
bundler: default | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Ruby & RubyGems | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
rubygems: ${{ matrix.rubygems }} | ||
bundler: ${{ matrix.bundler }} | ||
bundler-cache: false | ||
|
||
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root) | ||
# We need to do this first to get appraisal installed. | ||
# NOTE: This does not use the main Gemfile at all. | ||
- name: Install Root Appraisal | ||
run: bundle | ||
- name: Appraisal for ${{ matrix.appraisal }} | ||
run: bundle exec appraisal ${{ matrix.appraisal }} bundle | ||
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }} | ||
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }} |
Oops, something went wrong.