fix command output redirecting issue for CLI #156
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: Standard Tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
basic-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- platform: 'ubuntu-latest' | |
args: '' | |
- platform: 'windows-latest' | |
args: '' | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install rustup & toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: formatting check | |
run: cargo fmt --all --check | |
- name: build | |
run: cargo build --workspace --exclude rim-gui --verbose | |
- name: clippy check | |
run: cargo clippy --no-deps --workspace --exclude rim-gui -- -D warnings | |
- name: run tests | |
run: cargo test --workspace --exclude rim-gui --verbose |