Skip to content

Commit

Permalink
Move truffleruby out of main action, so it won't be run on push/pull_…
Browse files Browse the repository at this point in the history
…request
  • Loading branch information
petergoldstein committed Feb 23, 2022
1 parent 93d6857 commit 32c8cb3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- "3.1"
- ruby-head
- jruby-9.3
- truffleruby-head
steps:
- uses: actions/checkout@v1
- name: Set up Ruby
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/experimental.yml
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

0 comments on commit 32c8cb3

Please sign in to comment.