From 6e46c354df2f99418099bdb02e12790336d88e61 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Tue, 19 Sep 2023 17:46:51 -0600 Subject: [PATCH] run _all_ tests by default --- .github/workflows/ci.yml | 5 +---- justfile | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c028a2c..6f28ebb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/justfile b/justfile index 69e70f4e..39fbc703 100644 --- a/justfile +++ b/justfile @@ -1,5 +1,3 @@ -run-integration-tests: - cargo test --all --test '*' validate-example-config: cargo run config example.config.toml @@ -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