-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move truffleruby out of main action, so it won't be run on push/pull_…
…request
- Loading branch information
1 parent
93d6857
commit 32c8cb3
Showing
2 changed files
with
36 additions
and
1 deletion.
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
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,36 @@ | ||
name: Experimental | ||
|
||
on: | ||
schedule: | ||
- cron: "6 20 * * 6" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- truffleruby-head | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Gems cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/gems | ||
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} | ||
restore-keys: | | ||
gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}- | ||
gems-${{ matrix.ruby }}- | ||
- name: Install dependencies | ||
run: | | ||
gem install bundler | ||
bundle config path ~/gems | ||
bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: bundle exec rake spec |