Remove in app payments for unit tests on macOS

This commit is contained in:
Balazs Perlaki-Horvath 2024-12-08 11:48:48 +01:00 committed by BPH
parent b0e666a4b9
commit d49d3efaf9

View File

@ -58,9 +58,15 @@ jobs:
if: matrix.platform == 'iOS'
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
- name: Prepare running unit tests on macOS
if: matrix.platform == 'macOS'
run: |
sed -i '' '/in-app-payments/d' project.yml
xcodegen
- name: Run Unit Tests on macOS
if: matrix.platform == 'macOS'
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS' ${EXTRA_XCODEBUILD}
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS'
- name: Upload code coverage
uses: codecov/codecov-action@v4.2.0