File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 branches : [ "main" ]
1212
1313jobs :
14- test :
14+ Tests :
1515
1616 runs-on : macos-latest
1717
2323 xcode-version : latest-stable
2424
2525 - name : Run Tests
26- run : xcodebuild clean build test -scheme NextcloudFileProviderKit -destination "platform=macOS,name=My Mac" -enableCodeCoverage YES -derivedDataPath NKFPK/.derivedData
27-
28- - name : Gather code coverage
29- run : |
30- cd NKFPK/.derivedData/Build/ProfileData
31- cd $(ls -d */|head -n 1)
32- directory=${PWD##*/}
33- pathCoverage=NKFPK/.derivedData/Build/ProfileData/${directory}/Coverage.profdata
34- cd ../../../../../
35- xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage NKFPK/.derivedData/Build/Products/Debug/NextcloudFileProviderKitTests.xctest/Contents/MacOS/NextcloudFileProviderKitTests > coverage_report.lcov
26+ run : xcodebuild clean build test -scheme NextcloudFileProviderKit -destination "platform=macOS,name=My Mac"
You can’t perform that action at this time.
0 commit comments