From afa69b3877fc0a01c4c256d638bcfef1587279f5 Mon Sep 17 00:00:00 2001 From: terrier989 Date: Thu, 7 Sep 2023 14:47:05 +0100 Subject: [PATCH] Fix Github Actions --- .github/workflows/dart.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 20bbc72..5b22966 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -4,10 +4,9 @@ on: [push, pull_request] jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: matrix: - os: [ubuntu-latest] channel: [stable, beta, dev] steps: - uses: actions/checkout@v3 @@ -22,6 +21,10 @@ jobs: working-directory: test_in_flutter - name: Run tests (Dart) run: dart test --platform=vm - - name: Run tests (Flutter) - run: flutter test - working-directory: test_in_flutter \ No newline at end of file + test_in_browser: + needs: test + runs-on: ubuntu-latest + steps: + - uses: browser-actions/setup-chrome@v1 + - name: Run tests in browser (Dart) + run: dart test --platform=chrome \ No newline at end of file