Attempt to sanitize mtimes

This commit is contained in:
Pranav Gaddamadugu 2024-11-19 08:10:07 -08:00
parent 216b52a570
commit c532c01e90

View File

@ -51,6 +51,7 @@ commands:
if [ ! -f "Cargo.lock" ]; then
cargo generate-lockfile
fi
cargo install cargo-mtime
install-rust-windows:
@ -71,6 +72,7 @@ commands:
if (!(Test-Path "Cargo.lock" -PathType Leaf)) {
cargo generate-lockfile
}
cargo install cargo-mtime
build-and-test:
description: "Build and run tests"
@ -79,12 +81,14 @@ commands:
name: Build
no_output_timeout: 30m
command: |
cargo-mtime-memoize . ~/.cache/mtimes/project.db
cargo test --no-run --all --locked --profile ci --features only_testnet
- run:
name: Run tests
no_output_timeout: 30m
# The `--verbose` flag is used to check which files are being recompiled. Ideally, this should be none.
command: |
cargo-mtime-memoize . ~/.cache/mtimes/project.db
cargo test --all --locked --profile ci --features only_testnet --verbose
install_rust_nightly: