Skip to content

Commit

Permalink
run _all_ tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Sep 19, 2023
1 parent 320cabf commit 6e46c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ jobs:
run: cargo build --all-targets --all-features --all --verbose

- name: Run tests
run: cargo test --all --lib --verbose

- name: Run integration tests
run: cargo test --all --test '*'
run: cargo test --all --verbose

- name: Validate config
run: cargo run config example.config.toml
Expand Down
7 changes: 2 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
run-integration-tests:
cargo test --all --test '*'
validate-example-config:
cargo run config example.config.toml

Expand All @@ -10,15 +8,14 @@ docker-push:
docker-update: docker-build docker-push

test:
# Partitions much heavier "integration tests" to a separate command
cargo test --all --lib
cargo test --all
fmt:
cargo +nightly fmt --all
lint: fmt validate-example-config
cargo +nightly clippy --all-targets --all-features --all
build:
cargo build --all-targets --all-features --all
run-ci: lint build test run-integration-tests
run-ci: lint build test

build-book:
mdbook build
Expand Down

0 comments on commit 6e46c35

Please sign in to comment.