Update ci.yaml

This commit is contained in:
AppFlowy.IO 2021-11-23 19:05:37 +08:00 committed by GitHub
parent 054fa4c952
commit ce077c059e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,16 @@ on:
branches: [main]
jobs:
sdk-tests:
runs-on: macOS-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Env install
run: cd frontend && make install_rust
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
rustup toolchain install nightly
rustup default nightly
- name: Frontend tests
run: cd frontend/rust-lib && cargo test
- name: Shared-lib tests