AppFlowy/.github/workflows/ci.yaml
2021-11-20 14:30:32 +08:00

27 lines
574 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Test
run: cd frontend && make install_rust && make install_cargo_make && cargo make install_targets
- uses: actions/checkout@v2
unit_test:
runs-on: macOS-latest
steps:
- name: Run frontend tests
run: cd frontend/rust-lib && cargo test
- name: Run shared-lib tests
run: cd shared-lib && cargo test