From 123a6f22b0b9e553b290d94697c67a68ebe6dc07 Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Thu, 29 Feb 2024 10:13:27 +0200 Subject: [PATCH] Add linting to CI --- .github/workflows/uvm_ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/uvm_ci.yaml b/.github/workflows/uvm_ci.yaml index 4787259..e482793 100644 --- a/.github/workflows/uvm_ci.yaml +++ b/.github/workflows/uvm_ci.yaml @@ -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