From 57a52e9809833dca1c167701cdcbe2322748137a Mon Sep 17 00:00:00 2001 From: Jackie Date: Wed, 2 Oct 2024 14:33:38 -0700 Subject: [PATCH] Edit workflow to get .pylintrc recognized. --- .github/workflows/tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f0e3ea..1bf53d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,16 +27,18 @@ jobs: pip install pytest pytest-cov pip install . - - name: Clear cache + - name: Clear Pylint cache run: | rm -rf ~/.pylint.d - - - name: Lint with pylint using custom rcfile + + - name: Lint with Pylint using custom rcfile run: | + set -e # Ensure the workflow fails if any linting issues are found pylint --rcfile=.pylintrc eclipsebin - name: Run tests with pytest run: | + set -e # Ensure the workflow fails if any tests fail pytest --cov - name: Upload results to Codecov