mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-22 11:03:21 -04:00
Remove in app payments for macOS before building
This commit is contained in:
parent
fdf9c9c030
commit
02e9408194
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -44,6 +44,11 @@ jobs:
|
|||||||
if: matrix.platform == 'macOS'
|
if: matrix.platform == 'macOS'
|
||||||
run: echo "EXTRA_XCODEBUILD=${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
|
run: echo "EXTRA_XCODEBUILD=${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Remove in-app-payments capability for unit tests on macOS
|
||||||
|
if: matrix.platform == 'macOS'
|
||||||
|
run: |
|
||||||
|
sed -i '' '/in-app-payments/d' project.yml
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: ./.github/actions/xcbuild
|
uses: ./.github/actions/xcbuild
|
||||||
with:
|
with:
|
||||||
@ -58,8 +63,11 @@ jobs:
|
|||||||
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'
|
||||||
|
|
||||||
|
- name: Run Unit Tests on macOS
|
||||||
|
if: matrix.platform == 'macOS'
|
||||||
|
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO
|
||||||
|
|
||||||
- name: Upload code coverage
|
- name: Upload code coverage
|
||||||
if: matrix.platform == 'iOS'
|
|
||||||
uses: codecov/codecov-action@v4.2.0
|
uses: codecov/codecov-action@v4.2.0
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user