-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove running the same unit tests on macOS for CI
- Loading branch information
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,17 +58,8 @@ jobs: | |
if: matrix.platform == 'iOS' | ||
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus' | ||
|
||
- name: Remove in-app-payments capability for 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' CODE_SIGNING_ALLOWED=NO | ||
|
||
- name: Upload code coverage | ||
if: matrix.platform == 'iOS' | ||
uses: codecov/[email protected] | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|