mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-31 23:31:39 +00:00
fix(ios): stabilize manual localization catalog
This commit is contained in:
@@ -36,7 +36,15 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Show toolchain versions
|
||||
run: xcodebuild -version
|
||||
- name: Check manual localization catalog
|
||||
env:
|
||||
PYTHONDONTWRITEBYTECODE: '1'
|
||||
run: |
|
||||
python3 ios/scripts/localizations.py --check
|
||||
python3 -m unittest discover -s ios/scripts/tests -p 'test_localizations.py'
|
||||
- name: Build Hapi app for iOS Simulator
|
||||
run: xcodebuild build -project ios/Hapi.xcodeproj -scheme Hapi -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO
|
||||
- name: Transcript layout regression tests
|
||||
run: ios/scripts/test-transcript.sh
|
||||
- name: Verify localization catalog was not rewritten
|
||||
run: git diff --exit-code -- ios/Hapi/Resources/Localizable.xcstrings
|
||||
|
||||
Reference in New Issue
Block a user