2021-11-16 04:32:43 +00:00
|
|
|
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
|
2021-11-20 01:49:48 +00:00
|
|
|
run: cd frontend && make install_rust && make install_cargo_make && cargo make install_targets
|
2021-11-20 06:30:32 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-20 01:49:48 +00:00
|
|
|
|