Skip to content

Commit dec8993

Browse files
authored
chore: add flutter test to ci
1 parent adf7181 commit dec8993

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ jobs:
6363
run: |
6464
dart test
6565
66+
- name: Run tests (bdk_demo)
67+
working-directory: bdk_demo
68+
run: flutter test
69+
6670
windows-smoke:
6771
runs-on: windows-latest
6872

justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,19 @@ generate-bindings:
3838
demo-analyze:
3939
cd bdk_demo && flutter analyze
4040

41+
[group("Demo")]
42+
[doc("Run Flutter tests for the demo app.")]
43+
demo-test *ARGS:
44+
cd bdk_demo && flutter test {{ if ARGS == "" { "" } else { ARGS } }}
45+
4146
[group("CI")]
4247
[doc("Run the same checks as CI.")]
4348
ci:
4449
just format
4550
just analyze
4651
just test
4752
just demo-analyze
53+
just demo-test
4854

4955
[group("Dart")]
5056
[doc("Remove build and tool artifacts to start fresh.")]

0 commit comments

Comments
 (0)