From b1581142f53d36958987cf71b26fb81768ed09a5 Mon Sep 17 00:00:00 2001 From: ShinyMiraidon <114675487+ShinyMiraidon@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:32:51 -0400 Subject: [PATCH] Update main.yaml Updated workflow to match template repo --- .github/workflows/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 876b0355..be487fba 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -13,7 +13,7 @@ jobs: pacman --noconfirm -S cmake ninja git curl zip unzip tar verilator - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure run: cmake . -G Ninja -DNYU_BUILD_TESTS=ON @@ -24,10 +24,12 @@ jobs: - name: Test & Generate Coverage run: | ctest -C Release --output-on-failure + sed -i -e '/\/share\//d' -e '/\/dv\//d' dv/*.dat verilator_coverage -write-info coverage.txt dv/*.dat - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.txt fail_ci_if_error: true