Skip to content

Commit adba558

Browse files
committed
Update docs and use latest OS version in CI simulator
1 parent 6a702b0 commit adba558

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
3939
- name: Build
4040
run: |
41-
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 17' clean build | xcpretty
41+
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' clean build | xcpretty
4242
4343
- name: Test and Generate Coverage
4444
run: |
45-
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 17' test -enableCodeCoverage YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
45+
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' test -enableCodeCoverage YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
4646
xcrun xccov view --report $(find ./Build/Logs/Test -name '*.xcresult') --json > code_coverage.json
4747
4848
- name: Parse Coverage and Print to Terminal

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ For testing and code coverage, please run the following command:
213213
# Clear prior builds if needed:
214214
# rm -rf Build
215215

216-
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' clean build test -enableCodeCoverage YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
216+
xcodebuild -scheme Scribe -derivedDataPath Build/ -destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' clean build test -enableCodeCoverage YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
217217
```
218218

219219
Generate the coverage report JSON with the following:

0 commit comments

Comments
 (0)