Skip to content

Only notify Sentry from the stages listed in :sentry_stages #14

Only notify Sentry from the stages listed in :sentry_stages

Only notify Sentry from the stages listed in :sentry_stages #14

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.4' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Retrieve gems cache
uses: actions/cache@v5
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}
- name: Install gems
run: |
rm -f .ruby-version
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake test
- name: Upload log if failure
uses: actions/upload-artifact@v6
if: failure()
with:
name: test.log
path: log/test.log