File tree Expand file tree Collapse file tree 2 files changed +48
-4
lines changed
test/multiverse/suites/sidekiq Expand file tree Collapse file tree 2 files changed +48
-4
lines changed Original file line number Diff line number Diff line change 7171 - name : Annotate errors
7272 if : ${{ failure() }}
7373 uses : ./.github/actions/annotate
74+
75+ jruby_sidekiq :
76+ runs-on : ubuntu-22.04
77+ services :
78+ redis :
79+ image : redis
80+ ports :
81+ - 6379:6379
82+ options : >-
83+ --health-cmd "redis-cli ping"
84+ --health-interval 10s
85+ --health-timeout 5s
86+ --health-retries 5
87+ strategy :
88+ fail-fast : false
89+ matrix :
90+ suite : [sidekiq]
91+
92+ steps :
93+ - name : Configure git
94+ run : ' git config --global init.defaultBranch main'
95+
96+ - name : Check out the source code
97+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag v4.2.2
98+
99+ - name : Install JRuby
100+ uses : ruby/setup-ruby@bbda85882f33075a3727c01e3c8d0de0be6146ce # tag v1.224.0
101+ with :
102+ ruby-version : jruby-9.4.12.0
103+
104+ - name : Bundle
105+ run : bundle install
106+
107+ - name : Run Multiverse Tests
108+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # tag v3.0.2
109+ with :
110+ timeout_minutes : 20
111+ max_attempts : 3
112+ command : " bundle exec rake test:multiverse[${{ matrix.suite }}]"
113+ env :
114+ VERBOSE_TEST_OUTPUT : true
115+ SERIALIZE : 1
116+ JAVA_OPTS : --add-opens java.base/sun.nio.ch=org.jruby.dist --add-opens java.base/java.io=org.jruby.dist -Xmx4g -Xms512m
117+ JRUBY_OPTS : --dev
118+
119+ - name : Annotate errors
120+ if : ${{ failure() }}
121+ uses : ./.github/actions/annotate
Original file line number Diff line number Diff line change 22# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
33# frozen_string_literal: true
44
5- suite_condition("Sidekiq does not run on JRuby") do
6- RUBY_PLATFORM != 'java'
7- end
8-
95SIDEKIQ_VERSIONS = [
106 [nil, 3.2],
117 ['7.3.9', 2.7],
You can’t perform that action at this time.
0 commit comments