Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
Updated workflow to match template repo
  • Loading branch information
ShinyMiraidon authored Apr 19, 2024
1 parent 1f25400 commit b158114
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b158114

Please sign in to comment.