Assert routes creation #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit and Integration Test | |
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install capnproto | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v1 | |
- name: Unit Testing | |
run: cargo test --bins --features build-binary | |
- name: Config FUSE to run without sudo | |
run: echo user_allow_other | sudo tee /etc/fuse.conf | |
- name: Integration Testing | |
run: cargo test --features build-binary --release --test '*' -- --test-threads=1 |