mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
Some checks failed
Rust / Test ${{ matrix.build }} (linux-beta, ubuntu-latest, beta) (push) Has been cancelled
Rust / Test ${{ matrix.build }} (linux-nightly, ubuntu-latest, nightly) (push) Has been cancelled
Rust / Test ${{ matrix.build }} (linux-stable, ubuntu-latest, stable) (push) Has been cancelled
Rust / Test ${{ matrix.build }} (macos, macos-latest, stable) (push) Has been cancelled
Rust / Test ${{ matrix.build }} (windows, windows-latest, stable) (push) Has been cancelled
9 lines
232 B
Rust
9 lines
232 B
Rust
use anyhow::{Result, ensure};
|
|
use std::process::Command;
|
|
|
|
#[test]
|
|
fn full_tests() -> Result<()> {
|
|
let status = Command::new("cargo").arg("runtest").spawn()?.wait()?;
|
|
ensure!(status.success(), "runtest failed");
|
|
Ok(())
|
|
}
|