Skip to content

Commit 10fd670

Browse files
authored
Merge pull request #1082 from kiwix/turn-off-macos-unit-tests-for-ci
Remove in app payment for unit tests on macOS for CI
2 parents 9711861 + 02e9408 commit 10fd670

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
if: matrix.platform == 'macOS'
4545
run: echo "EXTRA_XCODEBUILD=${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
4646

47+
- name: Remove in-app-payments capability for unit tests on macOS
48+
if: matrix.platform == 'macOS'
49+
run: |
50+
sed -i '' '/in-app-payments/d' project.yml
51+
4752
- name: Build
4853
uses: ./.github/actions/xcbuild
4954
with:
@@ -58,12 +63,6 @@ jobs:
5863
if: matrix.platform == 'iOS'
5964
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
6065

61-
- name: Remove in-app-payments capability for unit tests on macOS
62-
if: matrix.platform == 'macOS'
63-
run: |
64-
sed -i '' '/in-app-payments/d' project.yml
65-
xcodegen
66-
6766
- name: Run Unit Tests on macOS
6867
if: matrix.platform == 'macOS'
6968
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO

0 commit comments

Comments
 (0)