aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2023-06-27 09:32:05 -0700
committerTim Newsome <tim@sifive.com>2023-06-27 09:45:07 -0700
commitfe15afe59efbd4a94fbd0f0855825e45a11775a6 (patch)
tree0e2aeab4f3e0a57594df2994622381b0785e2e15
parentf42fb21ed494cfea32ea40ebff8d682bcd2b41bb (diff)
downloadriscv-tests-fe15afe59efbd4a94fbd0f0855825e45a11775a6.zip
riscv-tests-fe15afe59efbd4a94fbd0f0855825e45a11775a6.tar.gz
riscv-tests-fe15afe59efbd4a94fbd0f0855825e45a11775a6.tar.bz2
Github workflow to run pylint against debug tests
-rw-r--r--.github/workflows/debug.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
new file mode 100644
index 0000000..29ca5b2
--- /dev/null
+++ b/.github/workflows/debug.yml
@@ -0,0 +1,17 @@
+on: pull_request
+
+name: Check Code Style (checkpatch)
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Install required packages (pip3)
+ run: |
+ pip3 install pylint
+ - name: Run pylint
+ run: make -C debug pylint