Skip to content

Commit 1dc3f5b

Browse files
authored
Merge pull request #922 from wildmaples/fix-ci
Fix CI and introduce experimental rubies scheduled job
2 parents b89ca2d + a0017cf commit 1dc3f5b

File tree

4 files changed

+34
-120
lines changed

4 files changed

+34
-120
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@ on: [push, pull_request]
44
jobs:
55
build:
66
runs-on: ubuntu-latest
7-
continue-on-error: ${{ matrix.experimental }}
87

98
strategy:
109
fail-fast: false
1110
matrix:
12-
ruby: [2.7, jruby, jruby-head, truffleruby-head]
11+
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, jruby, jruby-head]
1312
experimental: [false]
14-
include:
15-
- ruby: head
16-
experimental: true
17-
- ruby: truffleruby
18-
experimental: true
1913

2014
env:
2115
JAVA_OPTS: '-Xmx1024m'

.github/workflows/experimental.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Experimental Rubies CI Run
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *' # Runs every day at midnight
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
continue-on-error: true
10+
11+
strategy:
12+
matrix:
13+
ruby: [head, truffleruby, truffleruby-head]
14+
15+
env:
16+
JAVA_OPTS: '-Xmx1024m'
17+
RUBYOPT: '-w'
18+
JRUBY_OPTS: '--dev'
19+
20+
name: "Tests: Experimental Ruby ${{ matrix.ruby }}"
21+
steps:
22+
- name: Clone Repo
23+
uses: actions/checkout@v2
24+
- name: Setup system Ruby ${{ matrix.ruby }}
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby }}
28+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29+
- name: Run tests
30+
run: |
31+
gem install bundler --version 1.17.3
32+
echo JAVA_OPTS: $JAVA_OPTS
33+
bundle exec rake ci

.travis.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)