2022-08-14 04:39:37 +00:00
|
|
|
name: FlowyEditor test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "main"
|
2022-08-31 07:49:01 +00:00
|
|
|
paths:
|
|
|
|
- "frontend/app_flowy/packages/appflowy_editor"
|
2022-08-14 04:39:37 +00:00
|
|
|
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- "main"
|
2022-08-31 07:49:01 +00:00
|
|
|
paths:
|
|
|
|
- "frontend/app_flowy/packages/appflowy_editor"
|
2022-08-14 04:39:37 +00:00
|
|
|
|
|
|
|
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:
|
2022-08-14 04:39:37 +00:00
|
|
|
channel: "stable"
|
|
|
|
flutter-version: "3.0.5"
|
2022-08-14 04:39:37 +00:00
|
|
|
cache: true
|
|
|
|
|
|
|
|
- name: Run FlowyEditor tests
|
2022-08-18 08:42:36 +00:00
|
|
|
working-directory: frontend/app_flowy/packages/appflowy_editor
|
2022-08-14 04:39:37 +00:00
|
|
|
run: |
|
|
|
|
flutter pub get
|
|
|
|
flutter test
|