Skip to content

Commit c44f8d5

Browse files
authored
Merge pull request #15 from dbi1463/chore/codecov
chore: upload the coverage report to Codecov
2 parents 30d927e + 60c673d commit c44f8d5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ jobs:
66
steps:
77
- name: Checkout
88
uses: actions/checkout@v2
9-
- name: Update dependency
9+
- name: Resolve Dependency
1010
run: swift package update
1111
- name: Test
1212
run: swift test --enable-code-coverage
13+
- name: Covert Code Coverage
14+
run: xcrun llvm-cov export -format=lcov .build/debug/TypedNotificationPackageTests.xctest/Contents/MacOS/TypedNotificationPackageTests -instr-profile=.build/debug/codecov/default.profdata > lcov.info
15+
- name: Upload Codecov
16+
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)