-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
45 lines (42 loc) · 1.08 KB
/
ubuntu-bundler.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
45
name: ubuntu-bundler
on:
pull_request:
push:
branches:
- master
- 3.2
jobs:
ubuntu_bundler:
runs-on: ubuntu-18.04
strategy:
matrix:
ruby: [ 2.3.8, 2.4.10, 2.5.8, 2.6.6, 2.7.1 ]
bundler: [ '', 3.0.0 ]
exclude:
- { bundler: 3.0.0, ruby: 2.3.8 }
env:
RGV: ..
RUBYOPT: --disable-gems
steps:
- uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: none
- name: Install graphviz
run: sudo apt-get install graphviz -y
if: matrix.bundler == ''
- name: Replace version
run: BUNDLER_SPEC_SUB_VERSION=${{ matrix.bundler }} bin/rake override_version
if: matrix.bundler != ''
working-directory: ./bundler
- name: Prepare dependencies
run: |
bin/rake spec:parallel_deps
working-directory: ./bundler
- name: Run Test
run: |
bin/rake spec:all
working-directory: ./bundler
timeout-minutes: 60