-
Notifications
You must be signed in to change notification settings - Fork 21
43 lines (40 loc) · 990 Bytes
/
sentry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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