chore: format #129
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: CI | |
on: | |
push: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: | | |
export RUST_BACKTRACE=full RUST_TEST_TASK=1 RUST_TEST_TIME_UNIT=10000,10000 | |
sudo -E /home/${USER}/.cargo/bin/cargo test --jobs=1 -- --test-threads=1 |