Make frames with different files distinct for Firefox profiler categories #220
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |