Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Upload rust full CI JUnit reports (#23273)

starr-openai8c14b08dd1e4
diff --git a/.github/workflows/rust-ci-full.yml b/.github/workflows/rust-ci-full.yml
index de37faa4ca..697d4b9c37 100644
--- a/.github/workflows/rust-ci-full.yml
+++ b/.github/workflows/rust-ci-full.yml
@@ -688,6 +688,14 @@ jobs:
RUST_MIN_STACK: "8388608" # 8 MiB
NEXTEST_STATUS_LEVEL: leak
+ - name: Upload nextest JUnit report
+ if: always()
+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
+ with:
+ name: nextest-junit-rust-ci-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}
+ path: codex-rs/target/nextest/default/junit.xml
+ if-no-files-found: warn
+
- name: Upload Cargo timings (nextest)
if: always()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
diff --git a/codex-rs/.config/nextest.toml b/codex-rs/.config/nextest.toml
index 86d00e4637..cc86ee0874 100644
--- a/codex-rs/.config/nextest.toml
+++ b/codex-rs/.config/nextest.toml
@@ -2,6 +2,9 @@
# Do not increase, fix your test instead
slow-timeout = { period = "15s", terminate-after = 2 }
+[profile.default.junit]
+path = "junit.xml"
+
[test-groups.app_server_protocol_codegen]
max-threads = 1