-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 853 Bytes
/
Copy pathci.yml
File metadata and controls
26 lines (26 loc) · 853 Bytes
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
name: CI
on: [pull_request]
permissions:
contents: read
jobs:
build-and-test:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- run: swift build --build-tests
- run: swift test --filter MetaWearTests # skip hardware tests in CI
# The app target's unit tests (coordinator E2E against the demo fleet,
# history grouping, foreign-log decisions, …) were invisible to CI —
# only the SPM suites ran. The app requires the iOS 26 SDK, hence the
# newer runner image.
app-tests:
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- run: >
xcodebuild test
-project Apps/MetaWear/MetaWearApp.xcodeproj
-scheme MetaWearApp
-destination 'platform=iOS Simulator,name=iPhone 17'
-only-testing:MetaWearAppTests
CODE_SIGNING_ALLOWED=NO