Pass CI
This commit is contained in:
parent
d046ab5c49
commit
5851399420
2 changed files with 9 additions and 10 deletions
11
.justfile
11
.justfile
|
|
@ -74,10 +74,17 @@ alias rb := release-build
|
|||
|
||||
# Lint, check formatting and run tests
|
||||
[group('checks')]
|
||||
check: lint format-check test
|
||||
check: format-check lint cargo-check test
|
||||
|
||||
alias c := check
|
||||
|
||||
# Run cargo check
|
||||
[group('checks')]
|
||||
cargo-check:
|
||||
cargo check --workspace
|
||||
|
||||
alias cc := cargo-check
|
||||
|
||||
# Lint with Clippy
|
||||
[group('checks')]
|
||||
lint:
|
||||
|
|
@ -94,7 +101,7 @@ alias fc := format-check
|
|||
|
||||
# Run tests
|
||||
[group('checks')]
|
||||
test: build
|
||||
test:
|
||||
cargo test
|
||||
|
||||
alias t := test
|
||||
|
|
|
|||
|
|
@ -84,11 +84,3 @@ async fn main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn fail() {
|
||||
assert_eq!(0_i32, 1_i32);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue