Skip to content

Merge pull request #3700 from DataDog/bump_to_version_2.1.0 #10055

Merge pull request #3700 from DataDog/bump_to_version_2.1.0

Merge pull request #3700 from DataDog/bump_to_version_2.1.0 #10055

Workflow file for this run

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