-
Notifications
You must be signed in to change notification settings - Fork 207
56 lines (44 loc) · 1.21 KB
/
ci.yml
File metadata and controls
56 lines (44 loc) · 1.21 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
branches:
- master
- '*-dev'
- '*-feature'
- '*-fix'
pull_request:
jobs:
ci:
runs-on: ubuntu-22.04
strategy:
matrix:
java-version: [8, 21, 25]
ruby-version: [jruby-9.4, jruby-10]
task: ['', integration]
exclude:
# JRuby 10 requires Java 21 minimum
- ruby-version: jruby-10
java-version: 8
fail-fast: false
env:
# speed up all those subprocesses
JRUBY_OPTS: --dev
steps:
- name: checkout
uses: actions/checkout@v6
- name: Set up java ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
cache: maven
- name: Set up ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Remove jruby-launcher # not sure where this is coming from but causes some specs to fail
run: gem uninstall -a jruby-launcher
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake ${{ matrix.task }}