We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7532f38 commit 3fd42a3Copy full SHA for 3fd42a3
.github/workflows/test-flutter.yaml
@@ -10,7 +10,15 @@ jobs:
10
test:
11
runs-on: macos-latest
12
strategy:
13
- matrix: { dir: ['example/simple_app', 'example/multi_packages_app/app', 'example/multi_packages_app/theme'] }
+ matrix:
14
+ {
15
+ dir:
16
+ [
17
+ "example/simple_app",
18
+ "example/multi_packages_app/app",
19
+ "example/multi_packages_app/theme",
20
+ ],
21
+ }
22
defaults:
23
run:
24
working-directory: ${{ matrix.dir }}
@@ -42,3 +50,11 @@ jobs:
42
50
43
51
- name: Run tests
44
52
run: flutter test --no-pub --test-randomize-ordering-seed random
53
+
54
+ - name: Upload golden test failures
55
+ if: failure()
56
+ uses: actions/upload-artifact@v4
57
+ with:
58
+ name: golden-failures-${{ matrix.dir.replace('/', '__') }}
59
+ path: ${{ matrix.dir }}/test/**/failures/
60
+ if-no-files-found: ignore
0 commit comments