-
-
Notifications
You must be signed in to change notification settings - Fork 44
30 lines (23 loc) · 677 Bytes
/
Copy pathtests.yml
File metadata and controls
30 lines (23 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
RUBYOPT: "--enable=frozen-string-literal"
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: [2.6, 2.7, 3.0, 3.1, 3.2, 3.3, jruby, jruby-head, truffleruby, truffleruby-head]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # Runs also bundle install
- name: Run tests
run: bundle exec rake