Skip to content

Tests

Tests #40

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
- "release/**"
push:
branches:
- main
- "release/**"
schedule:
- cron: "0 0 * * SUN"
timezone: "America/Los_Angeles"
workflow_dispatch:
permissions:
contents: read
jobs:
macos-15:
name: macos-15 / Xcode ${{ matrix.xcode-version }} / ${{ matrix.configuration }}
runs-on: macos-15
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
steps:
- name: Run checkout
uses: actions/checkout@v6
- name: Run tests
run: |
swift --version
swift test --configuration ${{ matrix.configuration }}
strategy:
matrix:
xcode-version:
# - "16.0"
# - "16.1"
# - "16.2"
- "16.3"
- "16.4"
# - "26.0"
# - "26.1"
# - "26.2"
configuration:
- debug
- release
fail-fast: false
macos-26:
name: macos-26 / Xcode ${{ matrix.xcode-version }} / ${{ matrix.configuration }}
runs-on: macos-26
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
steps:
- name: Run checkout
uses: actions/checkout@v6
- name: Run tests
run: |
swift --version
swift test --configuration ${{ matrix.configuration }}
strategy:
matrix:
xcode-version:
# - "16.0"
# - "16.1"
# - "16.2"
# - "16.3"
# - "16.4"
- "26.0"
- "26.1"
- "26.2"
- "26.3"
- "26.4"
- "26.5"
configuration:
- debug
- release
fail-fast: false