-
Notifications
You must be signed in to change notification settings - Fork 712
57 lines (50 loc) · 1.38 KB
/
integration-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
48
49
50
51
52
53
54
55
56
57
name: Run Integration Tests
on:
workflow_dispatch:
pull_request:
paths:
- 'Samples/Tests/**'
- 'Samples/Common/Sources/IntegrationTestsHelper/**'
- '.github/workflows/integration-tests.yml'
push:
branches:
- master
schedule:
- cron: '0 0 1 * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
integration-tests:
runs-on: macos-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
# iOS integration tests are too flaky and are temporary excluded
# - platform: iOS
- platform: macOS
- platform: tvOS
- platform: watchOS
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Latest Stable Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Install Tuist
run: |
brew tap tuist/tuist
brew install [email protected]
- name: Generate Project
working-directory: ./Samples
run: tuist generate --verbose --no-open
- name: Run Build
uses: mxcl/xcodebuild@v3
with:
action: test
workspace: "Samples/KSCrashSamples.xcworkspace"
scheme: "Sample"
platform: ${{ matrix.platform }}