STORY-18706: Update CI with desired ruby versions and gemfiles #154
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: Contextual Logger Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [3.1, 3.2, 3.3] | |
gemfile: | |
- Gemfile | |
- gemfiles/rails_6_0.gemfile | |
- gemfiles/rails_6_1.gemfile | |
- gemfiles/rails_7_0.gemfile | |
- gemfiles/rails_7_1.gemfile | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler: 2.2.29 | |
bundler-cache: true | |
- run: bundle exec rspec |