Skip to content

Commit d4b2e57

Browse files
committed
[GR-17457] GitHub Actions: add specs on CRuby 2.7 and jt test fast
PullRequest: truffleruby/2222
2 parents fde88d4 + 2f0a31b commit d4b2e57

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CI
44
on: [push, pull_request]
55
jobs:
66
lint:
7-
name: Lint
7+
name: jt lint + jt test fast
88
runs-on: ubuntu-20.04
99
steps:
1010
- name: Clone TruffleRuby
@@ -34,19 +34,23 @@ jobs:
3434

3535
- name: Install RuboCop
3636
run: gem install --no-document rubocop:0.66.0
37-
- run: tool/jt.rb lint
37+
- name: jt lint
38+
run: tool/jt.rb lint
39+
40+
- name: jt test fast
41+
run: tool/jt.rb test fast
3842

3943
mri_specs:
4044
name: Run ruby/spec on CRuby ${{ matrix.ruby }}
4145
strategy:
4246
fail-fast: false
4347
matrix:
44-
ruby: [2.5, 2.6]
48+
ruby: [2.5, 2.6, 2.7]
4549
runs-on: ubuntu-latest
4650
steps:
4751
- uses: actions/checkout@v2
4852
- uses: ruby/setup-ruby@v1
4953
with:
5054
ruby-version: ${{ matrix.ruby }}
5155
bundler: none
52-
- run: CHECK_LEAKS=true tool/jt.rb -u ruby mspec -fdot spec/ruby
56+
- run: CHECK_LEAKS=true tool/jt.rb -u ruby mspec -fdot --timeout 30 spec/ruby

0 commit comments

Comments
 (0)