Skip to content

Make SIGTERM monitoring optional (#578) #411

Make SIGTERM monitoring optional (#578)

Make SIGTERM monitoring optional (#578) #411

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
paths:
- "Sources/**"
- "Tests/**"
- "Package.swift"
- ".github/workflows/unit-tests.yml"
- ".swiftpm/xcode/xcshareddata/xcschemes/**"
push:
branches:
- master
schedule:
- cron: "0 0 1 * *"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: "macos-${{ matrix.macos-version || 'latest' }}"
strategy:
fail-fast: false
matrix:
include:
- platform: iOS
- platform: iOS
xcode-version: "latest"
- platform: iOS
platform-version: ~16.4.0
macos-version: "13"
xcode-version: "14.3.1"
- platform: watchOS
- platform: watchOS
platform-version: ~9.4.0
macos-version: "13"
xcode-version: "14.3.1"
- platform: tvOS
- platform: tvOS
platform-version: ~16.4.0
macos-version: "13"
xcode-version: "14.3.1"
- platform: visionOS
macos-version: "15"
- platform: macOS
- platform: macOS
macos-version: "13"
- platform: mac-catalyst
- platform: mac-catalyst
macos-version: "13"
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Latest Stable Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version || 'latest-stable' }}
- name: Run Unit Tests
uses: mxcl/xcodebuild@v3
timeout-minutes: 15
with:
workspace: ".swiftpm/xcode/package.xcworkspace"
scheme: "KSCrash-Package"
platform: ${{ matrix.platform }}
platform-version: ${{ matrix.platform-version }}