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 9e72346
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/upstream.yml
Expand Up @@ -26,9 +26,26 @@ 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", git: "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 add ${{matrix.name}} --git="${{matrix.git}}"
bundle show
- run: bundle exec rake test

0 comments on commit 9e72346

Please sign in to comment.