Skip to content

Commit bcb9df4

Browse files
fix: convert + specify location of lcov file
Signed-off-by: Thomas Poignant <[email protected]>
1 parent b1eeb97 commit bcb9df4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/swift.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
run: swift build
2222
- name: Run tests
2323
run: swift test --enable-code-coverage
24+
- name: Prepare Code Coverage
25+
run: xcrun llvm-cov export -format="lcov" .build/debug/go-feature-flag-providerPackageTests.xctest/Contents/MacOS/go-feature-flag-providerPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
2426
- name: Upload coverage reports to Codecov
2527
uses: codecov/codecov-action@v4
2628
with:
2729
fail_ci_if_error: true
2830
token: ${{ secrets.CODECOV_TOKEN }}
31+
files: info.lcov
2932
env:
3033
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3134
lint:

0 commit comments

Comments
 (0)