Skip to content

Commit 73b296f

Browse files
committed
fix: Removed code coverage collection from GitHub action.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
1 parent 35cf82b commit 73b296f

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/xcode.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
branches: [ "main" ]
1212

1313
jobs:
14-
test:
14+
Tests:
1515

1616
runs-on: macos-latest
1717

@@ -23,13 +23,4 @@ jobs:
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"

0 commit comments

Comments
 (0)