Validate shared contracts in bounded test lanes
This commit is contained in:
parent
fecb9a1a8d
commit
d07a4085db
1 changed files with 2203 additions and 221 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue