Add comment for debugging in CI testgin #76
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: CI | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ruby: ['3.1'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: sudo gem install bundler -v 2.3.7 | |
- run: brew install shared-mime-info | |
if: matrix.os == 'macos-latest' | |
- uses: actions/checkout@v2 | |
- run: bundle install | |
- run: bundle exec rspec | |
env: | |
CI: true | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage/coverage.xml | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby: ['3.1'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- uses: actions/checkout@v3 | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 |