-
Notifications
You must be signed in to change notification settings - Fork 217
44 lines (42 loc) · 1010 Bytes
/
ruby.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: Ruby
on:
push:
branches:
- master
pull_request: {}
jobs:
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
container_tag:
- master-nightly-focal
- 3.0-focal
- 2.7-bionic
job:
- test
- stdlib_test
- rubocop validate test_doc build test_generate_stdlib confirm_parser
container:
image: rubylang/ruby:${{ matrix.container_tag }}
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
apt-get update
apt-get install -y libdb-dev
- name: Install bundler
run: |
ruby -v
gem install bundler
- name: bundle config set with
run: |
echo "NO_MINITEST=true" >> $GITHUB_ENV
bundle config set --local without 'minitest'
if: "contains(matrix.container_tag, 'master-nightly')"
- name: bin/setup
run: |
bin/setup
- name: Run test
run: |
bundle exec rake ${{ matrix.job }}