Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI and simplify matrix #2230

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Fix CI and simplify matrix #2230

merged 2 commits into from
Jan 16, 2024

Conversation

st0012
Copy link
Collaborator

@st0012 st0012 commented Jan 13, 2024

  1. Since we only test against ubuntu-latest, I removed os from the matrix to simplify our workflow configs.
  2. Because sentry-delayed_job still tests against Rails 7.0, which doesn't work with Ruby head atm due to mutex_m gem being migrated to bundled gem:
Failure/Error: require "active_record"

LoadError:
  cannot load such file -- mutex_m
# ./spec/spec_helper.rb:4:in `<top (required)>'
# ./spec/sentry/delayed_job/configuration_spec.rb:1:in `<top (required)>'

And I fixed it by excluding Ruby head from the matrix.

Ideally the fix should be to use Rails 7.1 for testing instead, but it's trickier than I thought. So I decided to fix it first and work on #2229 later.

#skip-changelog

bundler: 1
ruby-version: ${{ matrix.ruby_version }}
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.

with:
redis-version: 5
- name: Start Redis
uses: supercharge/redis-github-action@1.1.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.

Copy link

codecov bot commented Jan 13, 2024

Codecov Report

Merging #2230 (559ed76) into master (d408bdd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2230   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files         102      102           
  Lines        3800     3800           
=======================================
  Hits         3703     3703           
  Misses         97       97           
Components Coverage Δ
sentry-ruby 98.13% <ø> (ø)
sentry-rails 95.01% <ø> (ø)
sentry-sidekiq 94.70% <ø> (ø)
sentry-resque 93.65% <ø> (ø)
sentry-delayed_job 94.44% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)

@sl0thentr0py sl0thentr0py merged commit bd4f58a into master Jan 16, 2024
141 of 143 checks passed
@sl0thentr0py sl0thentr0py deleted the fix-ci branch January 16, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants