From b71954cd018d902c752a63055d782a693ed38301 Mon Sep 17 00:00:00 2001 From: Andy Ngo Date: Thu, 21 Nov 2024 04:07:21 -0800 Subject: [PATCH] create job to run code against pylama static analyzer --- .github/workflows/github-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index 58edc8c..04e2138 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -12,4 +12,20 @@ jobs: python -m pip install --upgrade pip pip install pytest - run: | - python tools/build_unit_tests.py --run_tests \ No newline at end of file + python tools/build_unit_tests.py --run_tests + + + static_analyzer: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - uses: actions/setup-python@v5 + - run: | + python -m pip install --upgrade pip + pip install 'pylama[all]' + - run: | + pylama -o config/pylama.cfg applications unit_tests shared/drivers + + \ No newline at end of file