diff --git a/ci/ci-tests-workspace.sh b/ci/ci-tests-workspace.sh index 3302f075394..f8be49bba7d 100755 --- a/ci/ci-tests-workspace.sh +++ b/ci/ci-tests-workspace.sh @@ -1,16 +1,13 @@ #!/bin/bash -#shellcheck disable=SC2002,SC2207 set -eox pipefail # shellcheck source=ci/ci-tests-common.sh source "$(dirname "$0")/ci-tests-common.sh" -echo -e "\n\nChecking the workspace, except lightning-transaction-sync." +echo -e "\n\nChecking the workspace." cargo check --quiet --color always -WORKSPACE_MEMBERS=( $(cat Cargo.toml | tr '\n' '\r' | sed 's/\r //g' | tr '\r' '\n' | grep '^members =' | sed 's/members.*=.*\[//' | tr -d '"' | tr ',' ' ') ) - -echo -e "\n\nTesting the workspace, except lightning-transaction-sync." +echo -e "\n\nTesting the workspace." cargo test --quiet --color always echo -e "\n\nTesting upgrade from prior versions of LDK" @@ -18,14 +15,9 @@ pushd lightning-tests cargo test --quiet popd -echo -e "\n\nChecking and building docs for all workspace members individually..." -for DIR in "${WORKSPACE_MEMBERS[@]}"; do - cargo check -p "$DIR" --quiet --color always - cargo doc -p "$DIR" --quiet --document-private-items -done +echo -e "\n\nBuilding docs for all workspace members." +cargo doc --workspace --quiet --document-private-items -echo -e "\n\nTest Custom Message Macros" -cargo test -p lightning-custom-message --quiet --color always [ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean # Test that we can build downstream code with only the "release pins".