Skip to content

Make Doctor an optional filter (#559) #65

Make Doctor an optional filter (#559)

Make Doctor an optional filter (#559) #65

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 tuist@4.18.0
- name: Generate Project
working-directory: ./Samples
run: tuist generate --verbose --no-open
- name: Run Build
uses: mxcl/xcodebuild@v3.0.0
with:
action: test
workspace: "Samples/KSCrashSamples.xcworkspace"
scheme: "Sample"
platform: ${{ matrix.platform }}