test: import database integration (#2803)

* feat: support importing database raw data

* feat: verify import database test

* test: fix test

* ci: update integration test ci config

* ci: codecov with os flag

* ci: update docker command

* ci: update docker command

* ci: update docker command

* ci: update docker command

* test: add filter test
This commit is contained in:
Nathan.fooo
2023-06-15 22:43:07 +08:00
committed by GitHub
parent 430325c731
commit d96a1d8bd4
35 changed files with 732 additions and 140 deletions

View File

@ -32,8 +32,8 @@ RUN yay -S --noconfirm curl base-devel openssl clang cmake ninja pkg-config xdg-
RUN xdg-user-dirs-update
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN source ~/.cargo/env && \
rustup toolchain install stable && \
rustup default stable
rustup toolchain install 1.70 && \
rustup default 1.70
# Install Flutter
RUN sudo pacman -S --noconfirm git tar gtk3
@ -44,10 +44,10 @@ RUN curl -sSfL \
rm flutter.tar.xz
RUN flutter config --enable-linux-desktop
RUN flutter doctor
RUN dart pub global activate protoc_plugin
RUN dart pub global activate protoc_plugin 20.0.1
# Intall build dependencies for AppFlowy
RUN sudo pacman -S --noconfirm git libkeybinder3 sqlite
RUN sudo pacman -S --noconfirm git libkeybinder3 sqlite clang
RUN source ~/.cargo/env && cargo install --force cargo-make duckscript_cli
# Build AppFlowy
@ -57,6 +57,7 @@ WORKDIR /appflowy
RUN cd frontend && \
source ~/.cargo/env && \
cargo make appflowy-flutter-deps-tools && \
cargo make flutter_clean && \
cargo make -p production-linux-x86_64 appflowy-linux