AppFlowy/.github/workflows/flowy_editor_test.yml
2022-08-31 15:53:12 +08:00

41 lines
766 B
YAML

name: FlowyEditor test
on:
push:
branches:
- "main"
paths:
- "frontend/app_flowy/packages/appflowy_editor"
pull_request:
branches:
- "main"
paths:
- "frontend/app_flowy/packages/appflowy_editor"
env:
CARGO_TERM_COLOR: always
jobs:
tests:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.0.5"
cache: true
- name: Run FlowyEditor tests
working-directory: frontend/app_flowy/packages/appflowy_editor
run: |
flutter pub get
flutter test