Skip to content

Improves dependency constraints and Flutter tests #78

Improves dependency constraints and Flutter tests

Improves dependency constraints and Flutter tests #78

Workflow file for this run

name: Dart CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
channel: [stable, beta, dev]
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: ${{ matrix.channel }}
- run: flutter --version
- name: Install dependencies (Dart)
run: dart pub get
- name: Install dependencies (Flutter)
run: flutter pub get
working-directory: test_in_flutter
- name: Run tests (VM)
run: dart test --platform=vm
test_in_chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: stable
- run: flutter --version
- name: Install dependencies (Dart)
run: dart pub get
- name: Run tests (Chrome)
run: dart test --platform=chrome