chore: add iOS integration test CI (#4822)

This commit is contained in:
Lucas.Xu
2024-03-05 17:20:27 +08:00
committed by GitHub
parent 2ec6250ddd
commit b05897d3ab
95 changed files with 520 additions and 357 deletions

View File

@ -1,13 +1,5 @@
#!/bin/bash
no_pub_get=false
while getopts 's' flag; do
case "${flag}" in
s) no_pub_get=true ;;
esac
done
echo "Generating language files"
# Store the current working directory
@ -24,6 +16,9 @@ rm -rf assets/translations/
mkdir -p assets/translations/
cp -f ../resources/translations/*.json assets/translations/
# the ci alwayas return a 'null check operator used on a null value' error.
# so we force to exec the below command to avoid the error.
# https://github.com/dart-lang/pub/issues/3314
flutter pub get
flutter packages pub get