Skip to content

Commit

Permalink
ci: add upstream nokogiri integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Mar 23, 2024
1 parent 3cff941 commit 1c0401c
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/upstream.yml
Expand Up @@ -26,9 +26,27 @@ jobs:
ruby-version: ["head", "jruby-head", "truffleruby-head"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby-version}}
bundler-cache: true
- run: bundle exec rake test
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby-version}}
bundler-cache: true
- run: bundle exec rake test

upstream:
name: "upstream (${{matrix.name}})"
strategy:
fail-fast: false
matrix:
include:
- { name: "nokogiri", url: "https://github.com/sparklemotion/nokogiri" }
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with: { ruby-version: "3.3" }
- run: |
bundle remove ${{matrix.name}} || true
bundle add ${{matrix.name}} --path="#{{matrix.url}}"
bundle install
- run: bundle exec rake test

0 comments on commit 1c0401c

Please sign in to comment.