From 5eba22a7c499d6fa4e0883f9b914eb0e6301fcf9 Mon Sep 17 00:00:00 2001 From: Braeden Mchugh Date: Fri, 21 Feb 2025 14:16:31 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1bb59d..803e2b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,4 +28,14 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - run: + run: | + python -m pip install --upgrade pip + pip install pytest pylint + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + + - name: Run pylint (Static Code Analysis) + run: | + pylint --disable=C0114,C0116,C0325,C0305 $(git ls-files '*.py') + + - name: Run Tests with pytest + run: pytest tests/