From 71f596f57b6e2fd00ebabe8aa8c27df890112923 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Tue, 24 Dec 2024 09:49:38 +0100 Subject: [PATCH] github: create junit file when running nextest --- .config/nextest.toml | 2 ++ .github/workflows/rust.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .config/nextest.toml diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..88457dc --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,2 @@ +[profile.default.junit] +path = "junit.xml" diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7bafd31..74a8a0a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -66,13 +66,13 @@ jobs: - uses: taiki-e/install-action@cargo-llvm-cov - uses: taiki-e/install-action@nextest - name: Collect coverage data - run: cargo llvm-cov nextest; ls -la + run: cargo llvm-cov nextest - name: Upload test results uses: EnricoMi/publish-unit-test-result-action@v2 with: check_name: Test Results github_token: ${{ secrets.GITHUB_TOKEN }} - files: target/nextest/ci/junit.xml + files: target/nextest/default/junit.xml - name: Upload to CodeCov uses: codecov/codecov-action@v5 with: