name: TestCli
on:
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
steps:
- uses: actions/checkout@v2
- name: Unit cli tests
run: cargo test --package moc-cli
- name: Install cli
run: cargo install --path crates/cli
- name: Integration cli tests
run: |
cd crates/cli/test
./test.bash