Skip to content

Commit 4f03444

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/swift.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
run: swift build
2222
- name: Run tests
2323
run: swift test --enable-code-coverage
24+
- run: ls -la .build/debug/
25+
- name: Prepare Code Coverage
26+
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
2427
- name: Upload coverage reports to Codecov
2528
uses: codecov/codecov-action@v4
2629
with:
2730
fail_ci_if_error: true
2831
token: ${{ secrets.CODECOV_TOKEN }}
32+
files: info.lcov
2933
env:
3034
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3135
lint:

0 commit comments

Comments
 (0)