-
Notifications
You must be signed in to change notification settings - Fork 373
39 lines (39 loc) · 1.42 KB
/
test-head.yaml
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
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