-
Notifications
You must be signed in to change notification settings - Fork 471
44 lines (42 loc) · 1010 Bytes
/
build.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
44
name: CI
on:
- push
- pull_request
jobs:
build:
name: Ruby ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 3.0
- 3.1
- 3.2
- 3.3
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
- name: Install OpenSSL
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev
- name: Run Bundle Commands
run: |
bundle config set --with docs
bundle config set ignore_messages true
bundle
- name: Run RuboCop
run: |
bundle exec rubocop
- name: Run Typecheck
run: |
bundle exec srb tc
- name: Run tests
run: |
bundle exec rake test:library
- name: Run REST wrapper tests
run: |
bundle exec rake test:rest_wrappers