-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (37 loc) · 977 Bytes
/
unit_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
46
47
name: Unit Tests
on:
push:
paths-ignore:
- '*.md'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
prepare-dependencies:
name: Unit Tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install HomeBrew Packages
run: brew bundle check || brew bundle install --no-lock
shell: bash
env:
HOMEBREW_NO_AUTO_UPDATE: 1
- name: Prepare Ruby dependencies
run: |
bundle install
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
- name: Install CocoaPods depenedencies
run: |
cd Example && bundle exec pod install
- name: Run Unit Tests iOS
timeout-minutes: 10
run: |
bundle exec fastlane unit_test
- name: Sanity build tvOS
if: success() || failure()
run: |
bundle exec fastlane build_tvos