-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new GA workflow for truffleruby-head
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: build | ||
|
||
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 |