@@ -89,118 +89,3 @@ jobs:
8989 if : ${{ !env.ACT }}
9090 run : bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
9191
92- truffleruby :
93- if : " (github.event_name != 'push' || (!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]'))) && (github.event_name != 'pull_request' || startsWith(github.head_ref, 'engines/') || startsWith(github.head_ref, 'truffleruby/'))"
94- name : Specs truffleruby-head@head
95- runs-on : ubuntu-latest
96- continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
97- env :
98- BUNDLE_GEMFILE : ${{ github.workspace }}/Appraisal.root.gemfile
99- strategy :
100- fail-fast : true
101- matrix :
102- include :
103- - ruby : " truffleruby-head"
104- appraisal : " head"
105- exec_cmd : " kettle-test"
106- rubygems : default
107- bundler : default
108-
109- steps :
110- - name : Checkout
111- if : ${{ !env.ACT }}
112- uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
113- with :
114- persist-credentials : false
115-
116- - name : Setup Ruby & RubyGems
117- if : ${{ !env.ACT }}
118- uses : ruby/setup-ruby@003a5c4d8d6321bd302e38f6f0ec593f77f06600 # v1.319.0
119- with :
120- ruby-version : ${{ matrix.ruby }}
121- rubygems : ${{ matrix.rubygems }}
122- bundler : ${{ matrix.bundler }}
123- bundler-cache : true
124-
125- - name : " [Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
126- id : bundleAppraisalAttempt1
127- if : ${{ !env.ACT }}
128- run : bundle exec appraisal ${{ matrix.appraisal }} install
129- continue-on-error : true
130-
131- - name : " [Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
132- id : bundleAppraisalAttempt2
133- if : ${{ !env.ACT && steps.bundleAppraisalAttempt1.outcome == 'failure' }}
134- run : bundle exec appraisal ${{ matrix.appraisal }} install
135-
136- - name : Restore RSpec status log
137- if : " ${{!env.ACT}}"
138- uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
139- with :
140- path : .rspec_status
141- key : rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-${{hashFiles('**/Gemfile.lock','Appraisal.root.gemfile','gemfiles/**/*.gemfile')}}-${{github.run_id}}-${{github.run_attempt}}
142- restore-keys : |
143- rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-${{hashFiles('**/Gemfile.lock','Appraisal.root.gemfile','gemfiles/**/*.gemfile')}}-
144- rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-
145-
146- - name : Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
147- if : ${{ !env.ACT }}
148- run : bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
149-
150- jruby :
151- if : " (github.event_name != 'push' || (!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]'))) && (github.event_name != 'pull_request' || startsWith(github.head_ref, 'engines/') || startsWith(github.head_ref, 'jruby/'))"
152- name : Specs jruby-head@head
153- runs-on : ubuntu-latest
154- continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
155- env :
156- BUNDLE_GEMFILE : ${{ github.workspace }}/Appraisal.root.gemfile
157- strategy :
158- fail-fast : true
159- matrix :
160- include :
161- - ruby : " jruby-head"
162- appraisal : " head"
163- exec_cmd : " kettle-test"
164- rubygems : default
165- bundler : default
166-
167- steps :
168- - name : Checkout
169- if : ${{ !env.ACT }}
170- uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
171- with :
172- persist-credentials : false
173-
174- - name : Setup Ruby & RubyGems
175- if : ${{ !env.ACT }}
176- uses : ruby/setup-ruby@003a5c4d8d6321bd302e38f6f0ec593f77f06600 # v1.319.0
177- with :
178- ruby-version : ${{ matrix.ruby }}
179- rubygems : ${{ matrix.rubygems }}
180- bundler : ${{ matrix.bundler }}
181- bundler-cache : true
182-
183- - name : " [Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
184- id : bundleAppraisalAttempt1
185- if : ${{ !env.ACT }}
186- run : bundle exec appraisal ${{ matrix.appraisal }} install
187- continue-on-error : true
188-
189- - name : " [Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
190- id : bundleAppraisalAttempt2
191- if : ${{ !env.ACT && steps.bundleAppraisalAttempt1.outcome == 'failure' }}
192- run : bundle exec appraisal ${{ matrix.appraisal }} install
193-
194- - name : Restore RSpec status log
195- if : " ${{!env.ACT}}"
196- uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
197- with :
198- path : .rspec_status
199- key : rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-${{hashFiles('**/Gemfile.lock','Appraisal.root.gemfile','gemfiles/**/*.gemfile')}}-${{github.run_id}}-${{github.run_attempt}}
200- restore-keys : |
201- rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-${{hashFiles('**/Gemfile.lock','Appraisal.root.gemfile','gemfiles/**/*.gemfile')}}-
202- rspec-status-heads-${{matrix.ruby}}-${{matrix.appraisal}}-
203-
204- - name : Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
205- if : ${{ !env.ACT }}
206- run : bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
0 commit comments