Support Rack 3 #31
Workflow file for this run
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: Test | |
on: [pull_request] | |
jobs: | |
test_alpine: | |
name: Ruby ${{ matrix.ruby_version }} | |
runs-on: ubuntu-latest | |
container: ruby:${{ matrix.ruby_version }}-alpine | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
apk add --no-cache build-base git less | |
bundle install | |
- name: Test on RACK_ENV=development | |
run: bundle exec rake test | |
env: | |
RACK_ENV: development | |
- name: Test on RACK_ENV=test | |
run: bundle exec rake test | |
env: | |
RACK_ENV: test |