mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-08-03 20:47:22 -04:00
Merge pull request #907 from kiwix/808-integrate-codecov-to-the-ci
808 integrate codecov
This commit is contained in:
commit
2dd19c3e9d
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
APPLE_DEVELOPMENT_SIGNING_CERTIFICATE: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_CERTIFICATE }}
|
APPLE_DEVELOPMENT_SIGNING_CERTIFICATE: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_CERTIFICATE }}
|
||||||
APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD }}
|
APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD }}
|
||||||
EXTRA_XCODEBUILD: ${{ env.EXTRA_XCODEBUILD }}
|
EXTRA_XCODEBUILD: ${{ env.EXTRA_XCODEBUILD }}
|
||||||
|
|
||||||
- name: Run Unit Tests on iOS
|
- name: Run Unit Tests on iOS
|
||||||
if: matrix.platform == 'iOS'
|
if: matrix.platform == 'iOS'
|
||||||
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
|
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
|
||||||
@ -59,3 +59,8 @@ jobs:
|
|||||||
if: matrix.platform == 'macOS'
|
if: matrix.platform == 'macOS'
|
||||||
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS'
|
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS'
|
||||||
|
|
||||||
|
- name: Upload code coverage
|
||||||
|
uses: codecov/codecov-action@v4.2.0
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ This is the home for Kiwix apps for Apple iOS and macOS.
|
|||||||
[](https://www.codefactor.io/repository/github/kiwix/kiwix-apple)
|
[](https://www.codefactor.io/repository/github/kiwix/kiwix-apple)
|
||||||
[](https://github.com/kiwix/kiwix-apple/actions/workflows/ci.yml?query=branch%3Amain)
|
[](https://github.com/kiwix/kiwix-apple/actions/workflows/ci.yml?query=branch%3Amain)
|
||||||
[](https://github.com/kiwix/kiwix-apple/actions/workflows/cd?query=branch%3Amain)
|
[](https://github.com/kiwix/kiwix-apple/actions/workflows/cd?query=branch%3Amain)
|
||||||
|
[](https://codecov.io/gh/kiwix/kiwix-apple)
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||||
<img src="https://img.shields.io/badge/Swift-5.9-orange.svg" alt="Drawing="/>
|
<img src="https://img.shields.io/badge/Swift-5.9-orange.svg" alt="Drawing="/>
|
||||||
|
|
||||||
|
@ -131,5 +131,7 @@ schemes:
|
|||||||
- UnitTests
|
- UnitTests
|
||||||
commandLineArguments:
|
commandLineArguments:
|
||||||
testing: true
|
testing: true
|
||||||
|
gatherCoverageData: true
|
||||||
|
coverageTargets:
|
||||||
|
- Kiwix
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user