From 52688301ca2552abc5f6b99c0097e20f52be1539 Mon Sep 17 00:00:00 2001 From: Johnosezele Date: Wed, 27 May 2026 07:57:57 +0100 Subject: [PATCH] feat: add flutter test to ci --- .github/workflows/ci.yml | 4 ++++ justfile | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5fa864..4d134a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,10 @@ jobs: run: | dart test + - name: Run tests (bdk_demo) + working-directory: bdk_demo + run: flutter test + windows-smoke: runs-on: windows-latest diff --git a/justfile b/justfile index 8c2ec6a..00c83af 100644 --- a/justfile +++ b/justfile @@ -38,6 +38,11 @@ generate-bindings: demo-analyze: cd bdk_demo && flutter analyze +[group("Demo")] +[doc("Run Flutter tests for the demo app.")] +demo-test *ARGS: + cd bdk_demo && flutter test {{ if ARGS == "" { "" } else { ARGS } }} + [group("CI")] [doc("Run the same checks as CI.")] ci: @@ -45,6 +50,7 @@ ci: just analyze just test just demo-analyze + just demo-test [group("Dart")] [doc("Remove build and tool artifacts to start fresh.")]