Skip to content

Commit

Permalink
add just commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Aug 14, 2024
1 parent 5a609df commit a7d14fd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ anvil *args:
docker run -p 127.0.0.1:8545:8545 ghcr.io/foundry-rs/foundry:latest "anvil {{args}}"

test:
cargo build --bin diff-test --release
cargo test --release --all-features
@echo 'Ommiting slow tests. Use `test-slow` for those. Or `test-all` for all tests.'

Check warning on line 37 in justfile

View workflow job for this annotation

GitHub Actions / typos

"Ommiting" should be "Omitting".
cargo nextest run --locked --release --workspace --all-features --retries 2 --verbose -E '!test(slow_)'

test-slow:
@echo 'Only slow tests are included. Use `test` for those deemed not slow. Or `test-all` for all tests.'
cargo nextest run --locked --release --workspace --all-features --verbose -E 'test(slow_)'

test-all:
cargo nextest run --locked --release --workspace --all-features --verbose

clippy:
cargo clippy --workspace --all-features --all-targets -- -D warnings
Expand Down

0 comments on commit a7d14fd

Please sign in to comment.