-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (45 loc) · 1.12 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
---
name: CI
on: # yamllint disable-line rule:truthy
merge_group:
pull_request:
jobs:
check-quality:
name: 🔎 Check quality
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run the quality check
run: make check-quality
tests:
name: 🧪 Tests
runs-on: macos-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: make test-${{ matrix.platform }}
- name: Publish report
uses: mikepenz/action-junit-report@v5
if: always()
with:
report_paths: 'fastlane/test_output/*.xml'
check_name: 📋 Unit test report (${{ matrix.platform }})
fail_on_failure: true
build-demos:
name: 🔨 Builds
runs-on: macos-latest
strategy:
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build the demo
run: make build-${{ matrix.platform }}