diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/python-app.yml | 9 | ||||
-rw-r--r-- | .github/workflows/tests.yml | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 86d5f0a..4aac843 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -17,8 +17,12 @@ jobs: python-version: 3.8 - name: Install PyYAML run: | - pip3 install -r requirements.txt - pip3 install coverage + pip3 install -r requirements.txt + pip3 install coverage + - name: Run pre-commit + run: | + python3 -m pip install pre-commit + pre-commit run --all-files - name: Generate run: coverage run ./parse.py -c -chisel -sverilog -rust -latex -spinalhdl -go "rv*" "unratified/rv*" - name: Check C output @@ -27,4 +31,3 @@ jobs: run: coverage xml - name: Upload coverage uses: codecov/codecov-action@v2 - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9357293..a30716a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,4 +25,3 @@ jobs: run: coverage xml - name: Upload coverage uses: codecov/codecov-action@v2 - |