-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (61 loc) · 2.03 KB
/
experimental_ruby_builds.yml
File metadata and controls
71 lines (61 loc) · 2.03 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Experimental Ruby Builds
on:
workflow_dispatch:
env:
# SimpleCov suggests setting the JRuby --debug flag to ensure that coverage
# results from JRuby are complete.
JRUBY_OPTS: --debug
# Experimental platforms / Ruby versions:
# - Ubuntu: MRI (head), TruffleRuby (head), JRuby (head)
# - Windows: MRI (head), JRuby (head), JRuby (9.4)
jobs:
build:
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
continue-on-error: true
env:
FAIL_ON_LOW_COVERAGE: ${{ matrix.fail_on_low_coverage }}
GIT_AUTHOR_NAME: Git Author
GIT_AUTHOR_EMAIL: git_author@example.com
GIT_COMMITTER_NAME: Git Committer
GIT_COMMITTER_EMAIL: git_committer@example.com
strategy:
fail-fast: false
matrix:
fail_on_low_coverage: [true]
include:
- ruby: "3.1"
operating-system: windows-latest
fail_on_low_coverage: false
- ruby: head
operating-system: ubuntu-latest
- ruby: head
operating-system: windows-latest
- ruby: "truffleruby-24"
operating-system: ubuntu-latest
fail_on_low_coverage: false
- ruby: truffleruby-head
operating-system: ubuntu-latest
fail_on_low_coverage: false
- ruby: "jruby-9.4"
operating-system: ubuntu-latest
fail_on_low_coverage: false
- ruby: "jruby-9.4"
operating-system: windows-latest
fail_on_low_coverage: false
- ruby: jruby-head
operating-system: ubuntu-latest
fail_on_low_coverage: false
- ruby: jruby-head
operating-system: windows-latest
fail_on_low_coverage: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run rake
run: bundle exec rake