-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (35 loc) · 883 Bytes
/
ci.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
name: CI
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [master]
jobs:
test:
runs-on: macos-14
strategy:
fail-fast: false
matrix:
tests: ['UnitTests', 'IntegrationTests']
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Gem Cache
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: CocoaPods Cache
uses: actions/cache@v4
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Pod Install
run: |
bundle exec pod install
- name: ${{ matrix.tests }} Tests
run: |
bundle exec fastlane test scheme:${{ matrix.tests }} os:17.2 name:"iPhone 15 Pro"