-
Notifications
You must be signed in to change notification settings - Fork 71
42 lines (41 loc) · 961 Bytes
/
test.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
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
rspec:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Ruby setup
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Bundle installation
run: |
gem install bundler:2.1.2
bundle install
- name: RSpec
run: |
bundle exec rspec
integration_test:
runs-on: macOS-latest
strategy:
matrix:
mode: [non-prebuild, prebuild-changes, prebuild-all]
xcframework: [false, true]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bundle installation
run: |
gem install bundler:2.1.2
bundle install
- name: Integration tests
run: |
sh scripts/integration_test.sh ${{matrix.mode}} ${{matrix.xcframework}}