From 2af794f281fc73ef258fe8d7c14b2ed388358e6b Mon Sep 17 00:00:00 2001 From: Dhara Pandya Date: Fri, 14 Nov 2025 15:41:30 +0530 Subject: [PATCH] ci: add Flutter template CI tests --- .github/workflows/flutter-template-ci.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/flutter-template-ci.yml diff --git a/.github/workflows/flutter-template-ci.yml b/.github/workflows/flutter-template-ci.yml new file mode 100644 index 0000000..f4fe485 --- /dev/null +++ b/.github/workflows/flutter-template-ci.yml @@ -0,0 +1,30 @@ +name: Flutter Template CI + +on: + push: + branches: ["main"] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + channel: stable + + - name: Install dependencies + run: flutter pub get + + - name: Build Flutter plugin + run: flutter build apk --debug + + - name: Run unit tests + run: flutter test + + - name: Run integration tests + run: flutter test integration_test/plugin_integration_test.dart