mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
27 lines
574 B
YAML
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
|
|
|
|
|
|
|
|
|