diff options
author | Pavel I. Kryukov <pavel.kryukov@phystech.edu> | 2022-05-14 01:31:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 15:31:30 -0700 |
commit | 301686e5b6b93d24ad85200f00ec60197ada86b6 (patch) | |
tree | c67b84bbdf73e99af8de18b7263c1f589cc1f911 /.github | |
parent | 58a231eb2df5ac9a2e37b5e3548c564dc75b6e9b (diff) | |
download | riscv-opcodes-301686e5b6b93d24ad85200f00ec60197ada86b6.zip riscv-opcodes-301686e5b6b93d24ad85200f00ec60197ada86b6.tar.gz riscv-opcodes-301686e5b6b93d24ad85200f00ec60197ada86b6.tar.bz2 |
Add codecov (#118)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/python-app.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2781ac5..86d5f0a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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 + |