12
12
test :
13
13
runs-on : macos-14
14
14
steps :
15
- - uses : actions/checkout@v4.1.7
15
+ - uses : actions/checkout@v4.2.2
16
16
- name : Run tests
17
17
run : |
18
+ defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
19
+
18
20
xcodebuild -resolvePackageDependencies \
19
21
-project 'Examples/ComposableNavigation-Examples/ComposableNavigation-Examples.xcodeproj' \
20
22
-scheme 'ComposableNavigation-Examples' \
@@ -28,21 +30,21 @@ jobs:
28
30
-derivedDataPath DerivedData \
29
31
-clonedSourcePackagesDirPath ClonedSourcePackages \
30
32
-enableCodeCoverage YES \
31
- -destination 'platform=iOS Simulator,name=iPhone 14 ' \
33
+ -destination 'platform=iOS Simulator,name=iPhone 15 ' \
32
34
| xcpretty --report junit --output test_report.xml
33
35
- name : Extract code coverage
34
36
run : |
35
37
binary=DerivedData/Build/Products/Debug-iphonesimulator/ComposableNavigation.o
36
38
profile=DerivedData/Build/ProfileData/*/Coverage.profdata
37
39
xcrun --run llvm-cov show $binary --instr-profile $profile >> coverage.txt
38
40
- name : Upload coverage to Codecov
39
- uses : codecov/codecov-action@v4.5.0
41
+ uses : codecov/codecov-action@v5.1.2
40
42
with :
41
43
token : ${{ secrets.CODECOV_TOKEN }}
42
44
files : ./coverage.txt
43
45
fail_ci_if_error : true
44
46
- name : Publish Test Report
45
- uses : mikepenz/action-junit-report@v4.3.1
47
+ uses : mikepenz/action-junit-report@v5.2.0
46
48
with :
47
49
report_paths : ' test_report.xml'
48
50
0 commit comments