Skip to content

Merge pull request #114 from jhawthorn/specify-os-requirement-in-readme #82

Merge pull request #114 from jhawthorn/specify-os-requirement-in-readme

Merge pull request #114 from jhawthorn/specify-os-requirement-in-readme #82

Workflow file for this run

name: Sentry integration
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Sentry integration test
steps:
- name: Checkout sentry
uses: actions/checkout@v4
with:
repository: getsentry/sentry-ruby
path: sentry-ruby
- name: Checkout vernier
uses: actions/checkout@v4
with:
path: vernier
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- name: Build vernier
run: |
cd vernier
bundle
bundle exec rake compile
- name: Setup sentry-ruby
run: |
VERNIER_PATH="$(pwd)/vernier"
cd sentry-ruby/sentry-ruby
sed -i "/gem *['\"]vernier/d" Gemfile
echo "gem \"vernier\", path: \"$VERNIER_PATH\"" >> Gemfile
bundle install
- name: Run tests
run: |
cd sentry-ruby/sentry-ruby
bundle exec rspec spec/sentry/vernier/profiler_spec.rb