Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract truffleruby workflow #1035

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-truffleruby
engine: cruby
min_version: 2.7
lint:
runs-on: ubuntu-latest
Expand All @@ -30,8 +30,6 @@ jobs:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
with_latest_reline: [true, false]
exclude:
- ruby: truffleruby
fail-fast: false
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -80,9 +78,6 @@ jobs:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
with_latest_reline: [true, false]
exclude:
- ruby: truffleruby
- ruby: truffleruby-head
fail-fast: false
env:
WITH_LATEST_RELINE: ${{matrix.with_latest_reline}}
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/truffle-ruby-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build-with-truffleruby-head

on:
push:
pull_request:
schedule:
- cron: "30 14 * * *"

jobs:
irb:
name: rake test truffleruby-head ${{ matrix.with_latest_reline && '(latest reline)' || '' }}
strategy:
matrix:
with_latest_reline: [true, false]
fail-fast: false
runs-on: ubuntu-latest
env:
WITH_LATEST_RELINE: ${{matrix.with_latest_reline}}
timeout-minutes: 30
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: truffleruby-head
bundler-cache: true
- name: Run tests
run: bundle exec rake test
- name: Run tests in isolation
run: bundle exec rake test_in_isolation
Loading