-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.07 KB
/
samples-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 }}