pub struct Params {
pub junit_test_label: String,
pub target: Triple,
pub profile: CommonProfile,
pub unstable_panic_abort_tests: Option<PanicAbortTests>,
pub nextest_profile: NextestProfile,
pub fail_job_on_test_fail: bool,
pub artifact_dir: Option<ReadVar<PathBuf>>,
pub done: WriteVar<SideEffect>,
}
Fields§
§junit_test_label: String
Friendly label for report JUnit test results
target: Triple
Build and run unit tests for the specified target
profile: CommonProfile
Build and run unit tests with the specified cargo profile
unstable_panic_abort_tests: Option<PanicAbortTests>
Whether to build tests with unstable -Zpanic-abort-tests
flag
nextest_profile: NextestProfile
Nextest profile to use when running the source code
fail_job_on_test_fail: bool
Whether the job should fail if any test has failed
artifact_dir: Option<ReadVar<PathBuf>>
If provided, also publish junit.xml test results as an artifact.
done: WriteVar<SideEffect>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Params
impl<'de> Deserialize<'de> for Params
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more