From e9726681699b2e60b3c95412c457ec1d1094fa97 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 10 Jan 2021 18:55:56 -0500 Subject: [PATCH] CI: Fix coverage action --- .github/workflows/coverage.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 00623317b..5504fd433 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -44,14 +44,11 @@ jobs: run: | ./ci/ci-script.bash - mkdir tarball/ - cp -vr bin tarball/ - cp -vr src/obj*/*.gcno tarball/ - tar cvzf verilator-${CI_COMMIT}.tgz -C ./tarball . + tar cvzf verilator-${CI_COMMIT}-coverage.tgz bin src/obj*/*.gcno - uses: actions/upload-artifact@v2 with: - path: verilator-${{ env.CI_COMMIT }}.tgz + path: verilator-${{ env.CI_COMMIT }}-coverage.tgz Test: @@ -89,7 +86,7 @@ jobs: - name: Install Verilator and test dependencies run: | - tar xvzf artifact/verilator-${CI_COMMIT}.tgz + tar xvzf artifact/verilator-${CI_COMMIT}-coverage.tgz ./ci/ci-install.bash - name: Test