Skip to content

Commit afa69b3

Browse files
committed
Fix Github Actions
1 parent b659097 commit afa69b3

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/dart.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
os: [ubuntu-latest]
1110
channel: [stable, beta, dev]
1211
steps:
1312
- uses: actions/checkout@v3
@@ -22,6 +21,10 @@ jobs:
2221
working-directory: test_in_flutter
2322
- name: Run tests (Dart)
2423
run: dart test --platform=vm
25-
- name: Run tests (Flutter)
26-
run: flutter test
27-
working-directory: test_in_flutter
24+
test_in_browser:
25+
needs: test
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: browser-actions/setup-chrome@v1
29+
- name: Run tests in browser (Dart)
30+
run: dart test --platform=chrome

0 commit comments

Comments
 (0)