diff --git a/.github/workflows/cargo-build-and-test.yml b/.github/workflows/cargo-build-and-test.yml index bd68943..4f3ede3 100644 --- a/.github/workflows/cargo-build-and-test.yml +++ b/.github/workflows/cargo-build-and-test.yml @@ -29,7 +29,7 @@ jobs: cargo build --verbose -p aquatic_http cargo build --verbose -p aquatic_ws - name: Run tests - run: cargo test --verbose --workspace --all-targets + run: cargo test --verbose --workspace --profile "test-fast" build-macos: diff --git a/Cargo.toml b/Cargo.toml index 2092976..0a7239c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,3 +35,7 @@ inherits = "release-debug" [profile.release-debug] inherits = "release" debug = true + +[profile.test-fast] +inherits = "release" +lto = false