From d03c63b7abec3293d11a579cf0e2d45639e43038 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 17 Sep 2024 11:07:41 +0800 Subject: [PATCH] test: change destination dir --- .github/workflows/my_codecov.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/my_codecov.yml b/.github/workflows/my_codecov.yml index 9d969f9a7..f6ca80b6a 100644 --- a/.github/workflows/my_codecov.yml +++ b/.github/workflows/my_codecov.yml @@ -57,21 +57,17 @@ jobs: with: name: test-data-${{ matrix.feature }} path: ./target/debug - - name: Cleanup target dir - uses: actions-rs/cargo@v1 - with: - command: clean - name: Download all artifacts uses: actions/download-artifact@v4 with: - path: ./target/debug + path: /tmp/target/debug pattern: test-data-* merge-multiple: true - name: Run Grcov run: | cargo install grcov; mkdir /tmp/cov; - grcov . --binary-path ./target/debug -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov; + grcov . --binary-path /tmp/target/debug -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov; - uses: actions/upload-artifact@v3 if: failure() with: