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 0098565
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ 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: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "${{matrix.ruby}}"
apt-get: "libxml2-dev libxslt1-dev pkg-config"
- uses: actions/download-artifact@v2
with:
name: cruby-gem
Expand Down Expand Up @@ -120,10 +123,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 +189,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 0098565

Please sign in to comment.