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
11 changes: 10 additions & 1 deletion .github/workflows/sentry_delayed_job_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
timeout-minutes: 10
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-delayed_job/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-delayed_job/gemfiles/ruby-${{ matrix.ruby_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
JRUBY_OPTS: "--debug" # for more accurate test coverage
strategy:
Expand All @@ -52,10 +54,17 @@ jobs:
sudo apt-get update
sudo apt-get install libsqlite3-dev

# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/sentry_opentelemetry_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
timeout-minutes: 10
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-opentelemetry/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-opentelemetry/gemfiles/ruby-${{ matrix.ruby_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
OPENTELEMETRY_VERSION: ${{ matrix.opentelemetry_version }}
JRUBY_OPTS: "--debug" # for more accurate test coverage
Expand All @@ -44,10 +46,17 @@ jobs:
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
timeout-minutes: 10
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-rails/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-rails/gemfiles/ruby-${{ matrix.ruby_version }}_rails-${{ matrix.rails_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
RAILS_VERSION: ${{ matrix.rails_version }}
JRUBY_OPTS: "--debug" # for more accurate test coverage
Expand Down Expand Up @@ -80,10 +82,16 @@ jobs:
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
# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Build with Rails ${{ matrix.rails_version }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
--health-retries 5
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-resque/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-resque/gemfiles/ruby-${{ matrix.ruby_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
JRUBY_OPTS: "--debug" # for more accurate test coverage
strategy:
Expand All @@ -52,10 +54,16 @@ jobs:
- ruby_version: 'jruby-head'
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs without Rails
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/sentry_ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
--health-retries 5
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-ruby/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-ruby/gemfiles/ruby-${{ matrix.ruby_version }}_rack-${{ matrix.rack_version }}_redis-${{ matrix.redis_rb_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
RACK_VERSION: ${{ matrix.rack_version }}
REDIS_RB_VERSION: ${{ matrix.redis_rb_version }}
Expand Down Expand Up @@ -70,10 +72,17 @@ jobs:
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs with Rack ${{ matrix.rack_version }} and redis-rb ${{ matrix.redis_rb_version }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
--health-retries 5
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-sidekiq/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-sidekiq/gemfiles/ruby-${{ matrix.ruby_version }}_sidekiq-${{ matrix.sidekiq_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
SIDEKIQ_VERSION: ${{ matrix.sidekiq_version }}
JRUBY_OPTS: "--debug" # for more accurate test coverage
Expand Down Expand Up @@ -69,10 +71,17 @@ jobs:
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs with Sidekiq ${{ matrix.sidekiq_version }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/sentry_yabeda_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
timeout-minutes: 10
env:
RUBYOPT: ${{ matrix.options.rubyopt }}
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-yabeda/Gemfile
# Pin via the wrapper gemfile + its sibling .gemfile.lock (BUNDLE_LOCKFILE is unsupported on older bundlers).
BUNDLE_GEMFILE: ${{ github.workspace }}/sentry-yabeda/gemfiles/ruby-${{ matrix.ruby_version }}.gemfile
BUNDLE_FROZEN: "true"
BUNDLE_WITHOUT: rubocop
JRUBY_OPTS: "--debug" # for more accurate test coverage
strategy:
Expand All @@ -43,10 +45,17 @@ jobs:
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

# Wrapper keys the lock to this cell (<cell>.gemfile -> <cell>.gemfile.lock); must exist before setup-ruby.
- name: Write wrapper gemfile
run: |
mkdir -p gemfiles
echo 'eval_gemfile "../Gemfile"' > "$BUNDLE_GEMFILE"

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler: latest
bundler-cache: true

- name: Run specs
Expand Down
Loading