From 4cd9f176552b6abb68f3cefed30f0c302422aa1c Mon Sep 17 00:00:00 2001 From: Sven Jost Date: Wed, 14 Aug 2024 12:04:39 +0200 Subject: [PATCH] feat: Attach test results to github release (WPB-10609) --- .config/nextest.toml | 4 ++++ .github/workflows/rust.yml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 .config/nextest.toml diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..2b31ac8 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,4 @@ +[profile.default.junit] +path = "junit.xml" +store-success-output = true +store-failure-output = true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7795a70..6bca5be 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,3 +33,7 @@ jobs: run: cargo nextest run --verbose --release - name: Run tests (WASM) run: wasm-pack test --release --headless --chrome + - name: Upload test results + uses: softprops/action-gh-release@v1 + with: + files: target/nextest/default/junit.xml