Validate shared contracts in bounded test lanes

This commit is contained in:
ms2k 2026-07-15 21:00:59 +09:00
commit d07a4085db

View file

@ -16,7 +16,9 @@ FROM rust-tools AS rust-check
WORKDIR /workspace
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
COPY .config .config
COPY contracts contracts
COPY crates crates
COPY docs/api docs/api
CMD ["sh", "-c", "cargo fmt --all --check && cargo clippy --workspace --all-targets --all-features -- -D warnings && cargo nextest run --workspace --all-features && cargo test --workspace --doc"]
FROM ${NODE_IMAGE} AS node-runtime
@ -33,6 +35,8 @@ RUN pnpm install --frozen-lockfile
FROM web-dependencies AS web-check
COPY web/ ./
COPY contracts /workspace/contracts
COPY docs/api /workspace/docs/api
FROM web-check AS web-fast
CMD ["sh", "-c", "pnpm check && pnpm lint && pnpm build && pnpm test:unit && pnpm test:component && pnpm test:e2e"]