flowy_editor_test.yml 766 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: FlowyEditor test
  2. on:
  3. push:
  4. branches:
  5. - "main"
  6. paths:
  7. - "frontend/app_flowy/packages/appflowy_editor"
  8. pull_request:
  9. branches:
  10. - "main"
  11. paths:
  12. - "frontend/app_flowy/packages/appflowy_editor"
  13. env:
  14. CARGO_TERM_COLOR: always
  15. jobs:
  16. tests:
  17. strategy:
  18. matrix:
  19. os: [macos-latest, ubuntu-latest, windows-latest]
  20. runs-on: ${{ matrix.os }}
  21. steps:
  22. - uses: actions/checkout@v2
  23. - uses: subosito/flutter-action@v2
  24. with:
  25. channel: "stable"
  26. flutter-version: "3.0.5"
  27. cache: true
  28. - name: Run FlowyEditor tests
  29. working-directory: frontend/app_flowy/packages/appflowy_editor
  30. run: |
  31. flutter pub get
  32. flutter test