fix: rust & flutter test (#1644)

Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
Nathan.fooo 2023-01-03 23:10:11 +08:00 committed by GitHub
parent 0e88d643cf
commit c1880292ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -101,7 +101,6 @@ jobs:
working-directory: frontend/app_flowy
run: flutter analyze
#Just run one platform
- if: "$RUNNER_OS" == "Linux"
name: Build Flutter unit test lib
working-directory: frontend

View File

@ -20,6 +20,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.65"
FLUTTER_VERSION: "3.3.9"
jobs:
test-on-ubuntu:
@ -37,6 +38,14 @@ jobs:
components: rustfmt, clippy
profile: minimal
- name: Install flutter
id: flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Install prerequisites
working-directory: frontend
run: |