-
Notifications
You must be signed in to change notification settings - Fork 36
51 lines (46 loc) · 1.15 KB
/
rspec.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
46
47
48
49
50
51
name: RSpec
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 10 * * *"
jobs:
rspec:
runs-on: ubuntu-latest
env:
CI: true
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
strategy:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3, 3.4]
gemfile: [
"gemfiles/graphql_2_1_4.gemfile",
"gemfiles/graphql_2_3_0.gemfile",
"gemfiles/graphql_2_3_11.gemfile",
"gemfiles/graphql_2_4_8.gemfile",
"gemfiles/graphql_master.gemfile"
]
exclude:
- ruby: "3.1"
gemfile: gemfiles/graphql_2_3_0.gemfile
- ruby: "3.1"
gemfile: gemfiles/graphql_2_3_11.gemfile
- ruby: "3.1"
gemfile: gemfiles/graphql_master.gemfile
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
bundler: 2.2.0
cache-version: 1
- name: Run RSpec
run: |
bundle exec rake spec
- name: Run RSpec without Rails
run: |
bundle exec rake spec:norails