forked from monal-im/Monal
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.05 KB
/
test.yml
File metadata and controls
45 lines (42 loc) · 1.05 KB
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: Run automated tests
on:
pull_request:
branches:
- develop
- beta
- stable
push:
branches:
- develop
permissions: {}
jobs:
run_tests:
runs-on: macos-latest
name: Run automated tests
steps:
- uses: actions/checkout@v4
with:
clean: true
submodules: true
fetch-depth: 100
fetch-tags: true
show-progress: true
lfs: true
- name: Checkout submodules
run: git submodule update -f --init --remote
- name: Build rust
run: bash ./rust/build-rust.sh
- name: Install pods
working-directory: Monal
run: pod install --repo-update
- name: Run tests
working-directory: Monal
run: |
set -o pipefail && \
NSUnbufferedIO=YES xcodebuild \
-workspace Monal.xcworkspace \
-scheme Monal \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
test \
2>&1 | \
xcbeautify --renderer github-actions