Skip to content

Commit

Permalink
Use codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
josetorronteras committed Jun 4, 2024
1 parent a8ea596 commit 7bc9c53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ jobs:
xcodebuild \
-scheme "$TEST_SCHEME" \
-destination "platform=iOS Simulator,name=${SIMULATOR},OS=${{ matrix.os_version }}" \
-enableCodeCoverage YES \
-enableCodeCoverage YES \
test
- name: Lcov file generation
run: |
xcrun llvm-cov export -format="lcov" .build/debug/EmailValidationPackageTests.xctest/Contents/MacOS/EmailValidationPackageTests -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex=".build|Tests" > info.lcov
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

[![CodeFactor](https://www.codefactor.io/repository/github/josetorronteras/cryptowidgetkitapp/badge)](https://www.codefactor.io/repository/github/josetorronteras/cryptowidgetkitapp)

[![iOS build and test workflow](https://github.com/josetorronteras/CryptoWidgetKitApp/actions/workflows/ios.yml/badge.svg?branch=main)](https://github.com/josetorronteras/CryptoWidgetKitApp/actions/workflows/ios.yml)
[![iOS build and test workflow](https://github.com/josetorronteras/CryptoWidgetKitApp/actions/workflows/ios.yml/badge.svg?branch=main)](https://github.com/josetorronteras/CryptoWidgetKitApp/actions/workflows/ios.yml)

[![codecov](https://codecov.io/gh/josetorronteras/CryptoWidgetKitApp/graph/badge.svg?token=5O0SZMNM97)](https://codecov.io/gh/josetorronteras/CryptoWidgetKitApp)

0 comments on commit 7bc9c53

Please sign in to comment.