summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu-bundler3.yml
blob: 353d6e81c731c56b5e47bbe502d730196ba10527 (plain)
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
name: ubuntu-bundler3

on:
  pull_request:

  push:
    branches:
      - staging
      - trying

jobs:
  ubuntu-bundler3:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [ 2.4.9, 2.5.7, 2.6.5 ]
        rgv: [ v3.0.6, master ]
    steps:
      - uses: actions/checkout@v1
      - name: Setup ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Prepare dependencies
        run: |
          BUNDLER_SPEC_SUB_VERSION=3.0.0 bin/rake override_version
          bin/rake spec:parallel_deps
      - name: Run Test
        run: bin/parallel_rspec spec
        env:
          RGV: ${{ matrix.rgv }}
      - name: Run Test with realworld
        run: bin/rake spec:realworld
        env:
          RGV: ${{ matrix.rgv }}
          BUNDLER_SPEC_PRE_RECORDED: 1
      - name: Run Test with BUNDLER_SPEC_SUB_VERSION
        run: bin/rake spec:sudo
        env:
          RGV: ${{ matrix.rgv }}
    timeout-minutes: 60