[NO-TICKET] Minor: Use fiddle to simulate crash in spec #10082
Workflow file for this run
This file contains 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: Test unstable | |
on: [push] | |
jobs: | |
test-head: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [head, jruby-head] | |
runs-on: ubuntu-latest | |
env: | |
SKIP_SIMPLECOV: 1 | |
JRUBY_OPTS: --dev | |
DD_INSTRUMENTATION_TELEMETRY_ENABLED: false | |
DD_REMOTE_CONFIGURATION_ENABLED: false | |
steps: | |
- uses: actions/checkout@v4 | |
# bundler appears to match both prerelease and release rubies when we | |
# want the former only. relax the constraint to allow any version for | |
# head rubies | |
- run: sed -i~ -e '/spec\.required_ruby_version/d' datadog.gemspec | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
continue-on-error: true | |
- run: bundle exec rake spec:main | |
continue-on-error: true | |
- run: bundle exec rake spec:contrib | |
continue-on-error: true | |
# A few contrib jobs that `datadog` already includes their gem in the global Gemfile. | |
# We technically don't need appraisal to run them, thus are easy candidates for early testing. | |
- run: bundle exec rake spec:rake | |
continue-on-error: true | |
- run: bundle exec rake spec:rspec | |
continue-on-error: true | |
- run: bundle exec rake spec:concurrent_ruby | |
continue-on-error: true | |
- run: bundle exec rake spec:http | |
continue-on-error: true |