Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Run Unit Tests on macOS
if: matrix.platform == 'macOS'
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS'
run: xcodebuild test -scheme Kiwix -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO

- name: Upload code coverage
uses: codecov/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Libraries
# ignore xcode project files, they are now generated by XcodeGen
*.xcodeproj
Support/Kiwix.entitlements
Support/Kiwix-unitTest.entitlements

# ignore the lock file, it is not working the same way as lock files in other tools
Brewfile.lock.json
Expand Down
7 changes: 7 additions & 0 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ targets:
PRODUCT_BUNDLE_IDENTIFIER: org.kiwix.Tests
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Kiwix.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Kiwix
BUNDLE_LOADER: $(TEST_HOST)
entitlements:
path: Support/Kiwix-unitTest.entitlements
properties:
com.apple.security.app-sandbox: false
# from macOS 14, sandbox and unit test are not working together on CI
# a pop up appears that needs user acceptance
# see: https://developer.apple.com/documentation/security/accessing-files-from-the-macos-app-sandbox
sources:
- path: Tests
dependencies:
Expand Down
Loading