Skip to content

Commit

Permalink
CI update: collect code coverage (adobe#23)
Browse files Browse the repository at this point in the history
* add beta language, update spm installation text

* Update swift.yml

Co-authored-by: Jiabin Geng <[email protected]>
Co-authored-by: Steve Benedick <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2020
1 parent 1b405b1 commit 0aeb463
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ jobs:
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
run: swift test -v --enable-code-coverage
- name: Upload Code Coverage
run: |
xcrun llvm-cov export -format="lcov" .build/debug/AEPRulesEnginePackageTests.xctest/Contents/MacOS/AEPRulesEnginePackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
bash <(curl -s https://codecov.io/bash)

0 comments on commit 0aeb463

Please sign in to comment.