We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1353f59 commit b4d9a72Copy full SHA for b4d9a72
.github/workflows/ci.yml
@@ -23,7 +23,17 @@ jobs:
23
run: swift build
24
25
- name: Run tests
26
- run: swift test
+ run: swift test --enable-code-coverage
27
+
28
+ - name: Convert the coverage data
29
+ run: llvm-cov export -format="lcov" .build/x86_64-apple-macosx/debug/Web5PackageTests.xctest/Contents/MacOS/Web5PackageTests -instr-profile .build/x86_64-apple-macosx/debug/codecov/default.profdata > info.lcov
30
31
+ - name: Upload coverage reports to Codecov
32
+ uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 # 4.1.1
33
+ with:
34
+ token: ${{ secrets.CODECOV_TOKEN }}
35
+ slug: TBD54566975/web5-swift
36
+ files: info.lcov
37
38
- uses: actions/upload-artifact@v3
39
with:
0 commit comments