From d49d3efaf9d6084703528e721014f69316df15dd Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 8 Dec 2024 11:48:48 +0100 Subject: [PATCH] Remove in app payments for unit tests on macOS --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f15a54a..5547ed9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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