Skip to content

chore: Move rubocop to mise (#3011) #1566

chore: Move rubocop to mise (#3011)

chore: Move rubocop to mise (#3011) #1566

Workflow file for this run

name: Tests & CodeCov
on:
workflow_dispatch:
push:
branches:
- master
- \d+-\d+
pull_request:
concurrency:
group: tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
# Prewarm mise cache in case it was evicted recently.
# Each specific test needs this to exist.
setup-mise:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: ./.github/actions/setup-mise
test:
needs: setup-mise
strategy:
fail-fast: false
matrix:
include:
- gem: sentry-ruby
- gem: sentry-rails
apt: libsqlite3-dev imagemagick
- gem: sentry-sidekiq
- gem: sentry-delayed_job
apt: libsqlite3-dev
- gem: sentry-resque
- gem: sentry-opentelemetry
- gem: sentry-yabeda
uses: ./.github/workflows/gem_test.yml
with:
gem: ${{ matrix.gem }}
apt: ${{ matrix.apt || '' }}
secrets: inherit
codecov:
name: CodeCov
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Codecov
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3
with:
run_command: send-notifications
token: ${{ secrets.CODECOV_TOKEN }}