update readme #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Samples Tests | |
permissions: | |
contents: read | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
jobs: | |
tests: | |
name: Xcode ${{ matrix.xcode-version }} / ${{ matrix.configuration }} | |
runs-on: macos-15 | |
strategy: | |
matrix: | |
xcode-version: [ | |
'16.0', | |
'16.1', | |
'16.2', | |
] | |
configuration: [ | |
'debug', | |
'release', | |
] | |
steps: | |
- name: Run checkout | |
uses: actions/checkout@v4 | |
- name: Run tests | |
run: | | |
export DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode-version }}.app" | |
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 }} |