feat(call_graph): Add complete graph building with optional depth limit #292
This file contains hidden or 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: tests | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| - "main" | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| MUTEST_SEARCH_PATH: ./target/release | |
| jobs: | |
| tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Install Rust toolchain specified in rust-toolchain.toml. | |
| - name: Install Rust toolchain | |
| run: rustc --version | |
| - name: Build mutest-json (without rustc options, as a public consumer) | |
| run: cargo build -p mutest-json | |
| - name: Build mutest-runtime | |
| run: cargo build --release -p mutest-runtime | |
| - name: Install mutest-driver and cargo-mutest | |
| run: | | |
| cargo install --force --path mutest-driver | |
| cargo install --force --path cargo-mutest | |
| - name: Run unit tests | |
| run: cargo test -p mutest-runtime --no-fail-fast -- --color=always | |
| - name: Run UI tests | |
| run: cargo run -p mutest-tests |