-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (35 loc) · 989 Bytes
/
tests.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: RSpec tests
on:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.6'
- '2.7'
- 'head'
gemfile:
- 'gemfiles/fb_4_11.gemfile'
- 'gemfiles/fb_5_2.gemfile'
- 'gemfiles/fb_6_2.gemfile'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Update bundler
run: gem update --system 3.3.3
- name: Use << parameters.gemfile >> as the Gemfile
run: bundle config --global gemfile ${{ matrix.gemfile }}
- name: Install dependencies
run: bundle install
- name: Run E2E
run: bundle exec ruby spec/integration_tests/runner.rb
- name: Run Core tests
run: bundle exec rspec