test latest safe rails versions #107
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: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: [3.3.1, 3.2.4, 3.1.5, 3.0.7] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: sudo apt-get install libzmq3-dev | |
- name: Install gems | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake test integration | |
- name: Install appraisals | |
run: bundle exec appraisal install | |
- name: Run appraisals | |
run: bundle exec appraisal rake test integration |