mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-02-12 08:42:51 +00:00
Replace deleted validation script with flutter test in build scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
12
.github/workflows/workflow.yml
vendored
12
.github/workflows/workflow.yml
vendored
@@ -58,8 +58,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Validate localizations
|
||||
run: dart run scripts/validate_localizations.dart
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
|
||||
- name: Generate icons and splash screens
|
||||
run: |
|
||||
@@ -110,8 +110,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Validate localizations
|
||||
run: dart run scripts/validate_localizations.dart
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
|
||||
- name: Generate icons and splash screens
|
||||
run: |
|
||||
@@ -155,8 +155,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Validate localizations
|
||||
run: dart run scripts/validate_localizations.dart
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
|
||||
- name: Generate icons and splash screens
|
||||
run: |
|
||||
|
||||
@@ -80,9 +80,9 @@ fi
|
||||
# Build the dart-define arguments
|
||||
DART_DEFINE_ARGS="--dart-define=OSM_PROD_CLIENTID=$OSM_PROD_CLIENTID --dart-define=OSM_SANDBOX_CLIENTID=$OSM_SANDBOX_CLIENTID"
|
||||
|
||||
# Validate localizations before building
|
||||
echo "Validating localizations..."
|
||||
dart run scripts/validate_localizations.dart || exit 1
|
||||
# Run tests before building
|
||||
echo "Running tests..."
|
||||
flutter test || exit 1
|
||||
echo
|
||||
|
||||
appver=$(grep "version:" pubspec.yaml | head -1 | cut -d ':' -f 2 | tr -d ' ' | cut -d '+' -f 1)
|
||||
|
||||
Reference in New Issue
Block a user