Merge pull request #2641 from joshcooper/order_dependent_17181 #436
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
--- | |
name: Integration tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CI: true | |
jobs: | |
integration_tests: | |
name: integration ${{ matrix.cfg.os }} (ruby ${{ matrix.cfg.ruby }}) | |
strategy: | |
matrix: | |
cfg: | |
- {os: ubuntu-latest, ruby: '2.7'} | |
- {os: ubuntu-22.04, ruby: '3.2'} # with openssl 3 | |
- {os: ubuntu-22.04, ruby: 'jruby-9.3.9.0'} | |
- {os: windows-2019, ruby: '2.7'} | |
- {os: windows-2019, ruby: '3.2'} # with openssl 3 | |
runs-on: ${{ matrix.cfg.os }} | |
steps: | |
- name: Checkout current PR | |
uses: actions/checkout@v4 | |
- name: Rspec checks | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.cfg.ruby }} | |
- run: gem update bundler | |
- run: bundle config set --local with integration | |
- run: bundle install --jobs 3 --retry 3 | |
- run: bundle exec rake spec_integration |