Skip to content

Commit

Permalink
ci(gem-install): prefer setup-ruby action to nokogiri-test images
Browse files Browse the repository at this point in the history
Also: add vanilla (source) gem coverage for all supported
rubies plus head; and add jruby-head coverage.
  • Loading branch information
flavorjones committed May 20, 2021
1 parent 6479c4e commit 7589930
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:
fail-fast: false
matrix:
sys: ["enable", "disable"]
ruby: ["2.5", "2.6", "2.7", "3.0", "head"]
runs-on: ubuntu-latest
container:
image: "flavorjones/nokogiri-test:mri-3.0"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v2
with:
name: cruby-gem
Expand Down Expand Up @@ -120,10 +122,11 @@ jobs:
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0"]
runs-on: ubuntu-latest
container:
image: "flavorjones/nokogiri-test:mri-${{matrix.ruby}}"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v2
with:
name: cruby-x86_64-linux-gem
Expand Down Expand Up @@ -185,11 +188,16 @@ jobs:

jruby-install:
needs: ["jruby-package"]
strategy:
fail-fast: false
matrix:
ruby: ["jruby", "jruby-head"]
runs-on: ubuntu-latest
container:
image: "flavorjones/nokogiri-test:jruby-9.2"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v2
with:
name: jruby-gem
Expand Down

0 comments on commit 7589930

Please sign in to comment.