Stabilize result ordering and streaming evidence
This commit is contained in:
parent
b00946625d
commit
b2afdfe97a
1 changed files with 154 additions and 40 deletions
|
|
@ -158,11 +158,20 @@ RUN cargo nextest archive \
|
|||
--locked \
|
||||
--archive-file /tmp/remora-result-tests.tar.zst
|
||||
|
||||
FROM kind-result-build AS kind-result-verified
|
||||
RUN cargo clippy \
|
||||
--package remora-result \
|
||||
--all-targets \
|
||||
--all-features \
|
||||
--locked \
|
||||
-- -D warnings \
|
||||
&& cargo test --package remora-result --doc --locked
|
||||
|
||||
FROM rust-tools AS kind-result-runner
|
||||
WORKDIR /workspace
|
||||
COPY Cargo.toml ./
|
||||
COPY crates crates
|
||||
COPY --from=kind-result-build /tmp/remora-result-tests.tar.zst /tests/remora-result-tests.tar.zst
|
||||
COPY --from=kind-result-verified /tmp/remora-result-tests.tar.zst /tests/remora-result-tests.tar.zst
|
||||
CMD ["bash", "-ec", "test -s /run/remora-fixture/profile.env && test -n \"$DATABASE_URL\" && test -n \"$REMORA_TARGET_ENDPOINT\" && case $REMORA_TARGET_PROVIDER in garage|versitygw) ;; *) exit 1 ;; esac && export REMORA_RESULT_REQUIRE=1 && cargo-nextest nextest run --archive-file /tests/remora-result-tests.tar.zst --workspace-remap /workspace --test-threads=1"]
|
||||
|
||||
FROM ${NODE_IMAGE} AS node-runtime
|
||||
|
|
|
|||
Loading…
Reference in a new issue