From 34fb10a4951a4c58e225233a48c24a14b359a6f5 Mon Sep 17 00:00:00 2001 From: Minsu Lee Date: Sat, 25 Nov 2023 14:50:10 +0900 Subject: [PATCH] feat: add wrap with observer assist --- .github/workflows/build.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ec75a3a..c4df82f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - package: ["mobx_codegen", "mobx", "mobx_lint"] + package: ["mobx_codegen", "mobx"] version: ["stable"] steps: @@ -68,3 +68,31 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.package }} files: ./${{ matrix.package }}/coverage/lcov.txt + + build_lint_packages: + runs-on: ubuntu-latest + + strategy: + matrix: + version: ["stable"] + + steps: + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + channel: ${{ matrix.channel }} + + - name: Install dependencies + working-directory: mobx_lint + run: dart pub get + + - name: Analyze + working-directory: mobx_lint + run: dart analyze --fatal-warnings --fatal-infos . + + - name: Run tests + working-directory: mobx_lint_flutter_test + run: | + flutter pub get + flutter test test +