Skip to content

Commit

Permalink
Add linting to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Feb 29, 2024
1 parent 56fb702 commit 123a6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/uvm_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
run: |
cd verify/uvm-python
make lint BUS_TYPE=APB
cnt=$(grep -c "Error" "verify/uvm-python/sim/linter.log")
cnt=$(grep -c "Error" "sim/linter.log")
if ! [[ $cnt ]]; then cnt=0; fi
if [[ $cnt -eq 1 ]]; then exit 0; fi
exit 2
cnt=$(grep -c "Warning" "verify/uvm-python/sim/linter.log")
cnt=$(grep -c "Warning" "sim/linter.log")
if ! [[ $cnt ]]; then cnt=0; fi
if [[ $cnt -eq 1 ]]; then exit 0; fi
exit 2
Expand Down

0 comments on commit 123a6f2

Please sign in to comment.