Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions .github/workflows/sentry_delayed_job_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:
matrix-result:
description: "Matrix job result"
value: ${{ jobs.test.outputs.matrix-result }}
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-delayed-job-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-delayed_job/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-delayed_job
Expand All @@ -34,17 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
include:
- ruby_version: "3.2"
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
# Because Rails 7.0 currently doesn't work with Ruby head
# LoadError:
# cannot load such file -- mutex_m
- { ruby_version: "head" }
- { ruby_version: 'jruby-head' }
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Install sqlite
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/sentry_opentelemetry_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:
matrix-result:
description: "Matrix job result"
value: ${{ jobs.test.outputs.matrix-result }}
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-opentelemetry-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-opentelemetry/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-opentelemetry
Expand All @@ -35,14 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
# opentelemetry_version: [1.2.0]
include:
- ruby_version: 3.2
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- { ruby_version: 'jruby-head' }
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Expand Down
60 changes: 13 additions & 47 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,24 @@ name: sentry-rails Test
on:
workflow_dispatch:
workflow_call:
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-rails-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-rails/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-rails
Expand All @@ -31,48 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
rails_version: [6.1.0, 7.0.0, 7.1.0]
include:
- ruby_version: "2.7"
rails_version: 5.2.0
- ruby_version: "2.7"
rails_version: 6.0.0
- ruby_version: "2.7"
rails_version: 6.1.0
- ruby_version: "3.1"
rails_version: 7.2.0
- ruby_version: "3.2"
rails_version: 7.2.0
- ruby_version: "3.3"
rails_version: 7.2.0
- ruby_version: "3.4"
rails_version: 7.2.0
- ruby_version: "3.2"
rails_version: "8.0.0"
- ruby_version: "3.3"
rails_version: "8.0.0"
- ruby_version: "3.4"
rails_version: "8.0.0"
- ruby_version: "4.0"
rails_version: "8.0.0"
- ruby_version: "3.4"
rails_version: "8.1.3"
- ruby_version: "4.0"
rails_version: "8.1.3"
- ruby_version: "3.2"
rails_version: 7.1.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: "3.2"
rails_version: 7.1.0
exclude:
- ruby_version: head
- ruby_version: jruby-head
- ruby_version: "3.4"
rails_version: "6.1.0"
- ruby_version: "3.4"
rails_version: "7.0.0"
include: ${{ fromJson(needs.matrix.outputs.include) }}

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
Expand All @@ -81,7 +47,7 @@ jobs:
# See https://github.community/t5/GitHub-Actions/ubuntu-latest-Apt-repository-list-issues/td-p/41122/page/2
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
sudo apt-get update
sudo apt-get install libsqlite3-dev imagemagick
sudo apt-get install --no-install-recommends libsqlite3-dev imagemagick
# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:
matrix-result:
description: "Matrix job result"
value: ${{ jobs.test.outputs.matrix-result }}
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-resque-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-resque/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-resque
Expand All @@ -44,14 +51,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
include:
- ruby_version: "3.2"
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- ruby_version: 'jruby'
- ruby_version: 'jruby-head'
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
Expand Down
43 changes: 12 additions & 31 deletions .github/workflows/sentry_ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,24 @@ name: sentry-ruby Test
on:
workflow_dispatch:
workflow_call:
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-ruby-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-ruby/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-ruby
Expand Down Expand Up @@ -42,33 +49,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
rack_version: [2.0, 3.0, 3.1]
redis_rb_version: [4.0]
include:
- ruby_version: 3.2
rack_version: 0
redis_rb_version: 5.0
- ruby_version: 3.2
rack_version: 2.0
redis_rb_version: 5.0
- ruby_version: 3.2
rack_version: 3.0
redis_rb_version: 5.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: 3.2
rack_version: 3.0
redis_rb_version: 4.0
- ruby_version: 3.3
rack_version: 3.1
redis_rb_version: 5.3
- ruby_version: 3.4
rack_version: 3.1
redis_rb_version: 5.3
exclude:
- ruby_version: 'jruby'
- ruby_version: 'jruby-head'
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Expand Down
39 changes: 12 additions & 27 deletions .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:
matrix-result:
description: "Matrix job result"
value: ${{ jobs.test.outputs.matrix-result }}
inputs:
versions:
required: true
type: string
# 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:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-sidekiq/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-sidekiq
Expand Down Expand Up @@ -45,29 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
sidekiq_version: ["5.0", "6.5", "7.0"]
include:
- ruby_version: jruby-9.4.14.0
sidekiq_version: 5.0
- ruby_version: jruby-9.4.14.0
sidekiq_version: 6.0
- ruby_version: jruby-9.4.14.0
sidekiq_version: 7.0
- ruby_version: "3.2"
sidekiq_version: 7.0
- ruby_version: "3.2"
sidekiq_version: 8.0.0
- ruby_version: "3.3"
sidekiq_version: 8.0.0
- ruby_version: "3.4"
sidekiq_version: 8.0.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- ruby_version: head
- ruby_version: jruby
- ruby_version: jruby-head
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/sentry_yabeda_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:
matrix-result:
description: "Matrix job result"
value: ${{ jobs.test.outputs.matrix-result }}
inputs:
versions:
required: true
type: string
# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: sentry-yabeda-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set.outputs.include }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# test-matrix.json is the single source of truth for this gem's matrix.
- id: set
run: echo "include=$(jq -c . sentry-yabeda/test-matrix.json)" >> "$GITHUB_OUTPUT"

test:
needs: matrix
defaults:
run:
working-directory: sentry-yabeda
Expand All @@ -34,14 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ${{ fromJson(inputs.versions) }}
include:
- ruby_version: "3.2"
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- ruby_version: 'jruby'
- ruby_version: 'jruby-head'
include: ${{ fromJson(needs.matrix.outputs.include) }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Expand Down
Loading
Loading