-
Notifications
You must be signed in to change notification settings - Fork 30
43 lines (37 loc) · 968 Bytes
/
rake.yml
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
name: rake
on:
push:
branches: [ main, v*, ci-check ]
tags: [ v* ]
pull_request:
jobs:
rspec:
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
ruby: [ 3.3, 3.2, 3.1, "3.0", 2.7, 2.6 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
env:
BUNDLE_WITHOUT: "secryst"
SKIP_JS: "1"
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: interscript/interscript
- name: Run bootstrap script
run: ruby bootstrap.rb
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpecs
working-directory: ./ruby
run: |
pip install regex
bundle install --with=jsexec
bundle exec rspec