From 21f9d00e30e40c1efce91ffb84c32c0e9bf91aad Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Wed, 6 Nov 2024 09:54:47 +0200 Subject: [PATCH] Split out pana checks; remove "demo tests". --- .github/workflows/demos.yml | 18 ------------------ .github/workflows/packages.yml | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 55f6f9ce..1a83c277 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -29,21 +29,3 @@ jobs: run: | ./.github/workflows/scripts/copy-config.sh melos analyze:demos - - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install Flutter - uses: subosito/flutter-action@v2 - with: - flutter-version: "3.x" - channel: "stable" - - name: Install melos - run: flutter pub global activate melos - - name: Install dependencies - run: melos prepare - - name: Run flutter tests - run: melos test - - name: Run dart tests - run: melos test:web diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 34b33195..4b8537c3 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -29,7 +29,22 @@ jobs: run: melos analyze:packages - name: Publish dry-run run: melos publish --dry-run --yes - - name: Check publish score + + pana: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: "3.x" + channel: "stable" + + - name: Install Melos + run: flutter pub global activate melos + - name: Install dependencies + run: melos prepare + - name: Check pana score run: | flutter pub global activate pana melos analyze:packages:pana --no-select