flowy_editor_test.yml 636 B

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