diff --git a/.circleci/continue/main.yml b/.circleci/continue/main.yml index 418573a4061..1bb72874a84 100644 --- a/.circleci/continue/main.yml +++ b/.circleci/continue/main.yml @@ -1929,6 +1929,12 @@ jobs: paths: - "/go/pkg/mod" # Store test results and artifacts + - when: + condition: always + steps: + - store_artifacts: + path: ./op-acceptance-tests/results + destination: junit-results - when: condition: always steps: diff --git a/.circleci/continue/rust-ci.yml b/.circleci/continue/rust-ci.yml index 49c1f63833e..8364541f4bc 100644 --- a/.circleci/continue/rust-ci.yml +++ b/.circleci/continue/rust-ci.yml @@ -674,11 +674,26 @@ jobs: name: Install nextest command: | command -v cargo-nextest >/dev/null || cargo binstall --locked --no-confirm cargo-nextest + - run: + name: Prepare test results directory + working_directory: <> + command: | + mkdir -p target/nextest/ci + rm -f target/nextest/ci/results.xml - run: name: Run cargo tests working_directory: <> no_output_timeout: 40m - command: just <> <> + command: | + export NEXTEST_PROFILE=ci + just <> <> + - store_artifacts: + path: <>/target/nextest/ci + destination: junit-results + when: always + - store_test_results: + path: <>/target/nextest/ci + when: always - rust-save-build-cache: *tests-cache-args # Shared unused dependencies check job diff --git a/rust/.config/nextest.toml b/rust/.config/nextest.toml new file mode 100644 index 00000000000..ee19bd79b48 --- /dev/null +++ b/rust/.config/nextest.toml @@ -0,0 +1,2 @@ +[profile.ci.junit] +path = "results.xml"