Pin net-imap to version used to record cassettes #39
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: TCR Spec Suite | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
test: | |
name: "Test: Ruby ${{ matrix.ruby }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- "2.7" | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- name: Ruby Version | |
run: ruby --version | |
- name: Run Tests | |
run: bundle exec rspec | |
testall: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
name: Test (matrix) | |
needs: [test] | |
steps: | |
- name: Check status of all test runs | |
if: ${{ needs.test.result != 'success' }} | |
run: exit 1 |