We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a548a commit fb70469Copy full SHA for fb70469
.github/workflows/swift-pacakge.yml
@@ -29,10 +29,12 @@ jobs:
29
swift test -v --enable-code-coverage
30
31
- name: Generate Code Coverage File
32
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
33
run: |
34
xcrun llvm-cov export --instr-profile=.build/x86_64-apple-macosx/debug/codecov/default.profdata .build/x86_64-apple-macosx/debug/ProtocolProxyPackageTests.xctest/Contents/MacOS/ProtocolProxyPackageTests > ./info.lcov
35
36
- name: Upload Code Coverage
37
38
uses: codecov/codecov-action@v1
39
with:
40
token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments