[delayed_job] remove custom opts for 3.2 on CI #2874
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: sentry-delayed_job Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- \d+-\d+ | |
pull_request: | |
# Cancel in progress workflows on pull_requests. | |
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby-jruby | |
min_version: 2.4 | |
test: | |
needs: ruby-versions | |
defaults: | |
run: | |
working-directory: sentry-delayed_job | |
name: Ruby ${{ matrix.ruby_version }}, options - ${{ toJson(matrix.options) }} | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-delayed_job/Gemfile | |
BUNDLE_WITHOUT: rubocop | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
include: | |
- { | |
ruby_version: "3.2", | |
options: | |
{ | |
codecov: 1 | |
} | |
} | |
exclude: | |
# Because Rails 7.0 currently doesn't work with Ruby head | |
# LoadError: | |
# cannot load such file -- mutex_m | |
- { ruby_version: "head" } | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Ruby ${{ matrix.ruby_version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Run specs | |
env: | |
RUBYOPT: ${{ matrix.options.rubyopt }} | |
run: bundle exec rake | |
- name: Upload Coverage | |
if: ${{ matrix.options.codecov }} | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |