From 301686e5b6b93d24ad85200f00ec60197ada86b6 Mon Sep 17 00:00:00 2001 From: "Pavel I. Kryukov" Date: Sat, 14 May 2022 01:31:30 +0300 Subject: Add codecov (#118) --- .github/workflows/python-app.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to '.github') 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 + -- cgit v1.1