Skip to content

Commit

Permalink
Add codecov (riscv#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkryukov authored May 13, 2022
1 parent 58a231e commit 301686e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@ jobs:
with:
python-version: 3.8
- name: Install PyYAML
run: pip3 install -r requirements.txt
- name: Generation C code
run: ./parse.py -c -chisel -sverilog -rust -latex -spinalhdl -go "rv*" "unratified/rv*"
run: |
pip3 install -r requirements.txt
pip3 install coverage
- name: Generate
run: coverage run ./parse.py -c -chisel -sverilog -rust -latex -spinalhdl -go "rv*" "unratified/rv*"
- name: Check C output
run: cat encoding.out.h | cpp
- name: Generate coverage
run: coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v2

0 comments on commit 301686e

Please sign in to comment.