Skip to content

Commit 704bfee

Browse files
pbolingCopilot
andcommitted
Remove unsupported engine workflow jobs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 876a636 commit 704bfee

3 files changed

Lines changed: 3 additions & 232 deletions

File tree

Lines changed: 1 addition & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Targets the evergreen latest release of ruby, truffleruby, and jruby
2-
# and tests against the HEAD of runtime dependencies
1+
# Targets enabled evergreen Ruby engines and tests against the HEAD of runtime dependencies
32
name: Runtime Deps @ HEAD
43

54
permissions:
@@ -90,115 +89,3 @@ jobs:
9089
if: ${{ !env.ACT }}
9190
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
9291

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

β€Ž.github/workflows/heads.ymlβ€Ž

Lines changed: 0 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }}

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ Please file a bug if you notice a violation of semantic versioning.
2828

2929
### Fixed
3030

31-
- Runtime dependency HEAD CI no longer runs JRuby and TruffleRuby jobs on
32-
normal pushes when those engines cannot satisfy the Ruby 4 / Prism baseline;
33-
engine-specific PRs and manual workflow runs still exercise those jobs.
31+
- Generated HEAD and runtime dependency HEAD CI workflows no longer include
32+
JRuby or TruffleRuby jobs for this MRI-only gem.
3433

3534
### Security
3635

0 commit comments

Comments
Β (0)