This commit is contained in:
Vadim 2024-04-12 08:15:58 +02:00
parent cd09efeb05
commit 69522153bb

View file

@ -43,11 +43,11 @@ jobs:
- name: Run tests - name: Run tests
env: env:
UPDATE_GOLDENS: ${{inputs.update-goldens && '--update-goldens' || '' }}ƒ UPDATE_GOLDENS: ${{inputs.update-goldens && '--update-goldens' || '' }}
run: | run: |
goldens=$(find ./test -name "*_golden_test.dart" -print) goldens=$(find ./test -name "*_golden_test.dart" -print)
for f in $goldens; do for f in $goldens; do
flutter test "$f" --dart-define cameraStubImage=assets/camera_stub_image.jpg $UPDATE_GOLDENS flutter test "$f" --dart-define cameraStubImage=assets/camera_stub_image.jpg "$UPDATE_GOLDENS"
done done
- name: Commit changes - name: Commit changes