We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a486285 commit cada159Copy full SHA for cada159
.github/workflows/swift.yml
@@ -16,4 +16,9 @@ jobs:
16
- name: Build
17
run: swift build -v
18
- name: Run tests
19
- run: swift test -v
+ run: swift test -v --enable-code-coverage
20
+ - name: Export coverage report as Lcov
21
+ run: xcrun llvm-cov export -format="lcov" -instr-profile=.build/x86_64-apple-macosx/debug/codecov/default.profdata .build/x86_64-apple-macosx/debug/ShitLibPackageTests.xctest/Contents/MacOS/ShitLibPackageTests > lcov.info
22
+ - uses: codecov/codecov-action@v2
23
+ with:
24
+ files: lcov.info
0 commit comments