Skip to content

update github action #38

update github action

update github action #38

Workflow file for this run

name: Samples Tests
on:
pull_request:
branches:
- main
- "release/**"
push:
branches:
- main
- "release/**"
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 --package-path Samples/AnimalsData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/CounterData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/QuakesData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/Services --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 --package-path Samples/AnimalsData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/CounterData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/QuakesData --configuration ${{ matrix.configuration }}
swift test --package-path Samples/Services --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