From ac05d154c035133864f931eecb6db4fafb12d93e Mon Sep 17 00:00:00 2001 From: Diego Tori Date: Mon, 5 Aug 2024 10:34:08 -0400 Subject: [PATCH] Updated workflows so that they now run tests as a result of this PR. --- .github/workflows/ci.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60e02fb2f..4bf72c2f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Flutter Action uses: subosito/flutter-action@v2 - name: Check format @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Flutter Action uses: subosito/flutter-action@v2 - name: Install Package Dependencies @@ -41,15 +41,16 @@ jobs: - name: Lint using flutter analyze run: flutter analyze . - # test: - # name: Test2 - # runs-on: ubuntu-latest + test: + name: Run tests. + runs-on: ubuntu-latest - # steps: - # - name: Checkout code - # uses: actions/checkout@v2 - # - uses: subosito/flutter-action@v1 - # with: - # channel: beta - # - name: Test - # run: flutter test + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Flutter Action + uses: subosito/flutter-action@v2 + - name: Run flutter test + run: | + flutter pub get + flutter test