mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-27 05:49:25 -04:00
Merge pull request #671 from kiwix/669-make-sure-ios-unit-tests-are-run-during-ci-build
CI make sure we run Unit Tests step
This commit is contained in:
commit
cd24bf1a2c
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -50,3 +50,12 @@ jobs:
|
|||||||
APPLE_DEVELOPMENT_SIGNING_CERTIFICATE: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_CERTIFICATE }}
|
APPLE_DEVELOPMENT_SIGNING_CERTIFICATE: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_CERTIFICATE }}
|
||||||
APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD }}
|
APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD: ${{ secrets.APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD }}
|
||||||
EXTRA_XCODEBUILD: ${{ env.EXTRA_XCODEBUILD }}
|
EXTRA_XCODEBUILD: ${{ env.EXTRA_XCODEBUILD }}
|
||||||
|
|
||||||
|
- name: Run Unit Tests on iOS
|
||||||
|
if: matrix.platform == 'iOS'
|
||||||
|
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'
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ targets:
|
|||||||
- "**/dag.lproj"
|
- "**/dag.lproj"
|
||||||
UnitTests:
|
UnitTests:
|
||||||
type: bundle.unit-test
|
type: bundle.unit-test
|
||||||
platform: macOS
|
supportedDestinations: [iOS, macOS]
|
||||||
settings:
|
settings:
|
||||||
PRODUCT_BUNDLE_IDENTIFIER: org.kiwix.Tests
|
PRODUCT_BUNDLE_IDENTIFIER: org.kiwix.Tests
|
||||||
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Kiwix.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Kiwix
|
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Kiwix.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Kiwix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user