From dcc23bd4dbbabcf0bf69914bc56bb0c1f817d9d0 Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Tue, 23 Jul 2024 13:42:20 +0100 Subject: [PATCH] ci: separate pylint steps for hepdata_lib & tests (#267) --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6c470a24..139b3b09 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -141,8 +141,12 @@ jobs: name: notebooks-${{ matrix.root-version }}-${{ matrix.python-version }}-${{ matrix.os }} py3-${{ matrix.root-version }}-${{ matrix.python-version }}-${{ matrix.os }} path: examples/*.html - - name: Run pylint + - name: Run pylint on hepdata_lib if: ${{ always() && !startsWith(matrix.python-version, '3.6') && !startsWith(matrix.python-version, '3.7') }} run: | python -m pylint hepdata_lib/*.py + + - name: Run pylint on tests + if: ${{ always() && !startsWith(matrix.python-version, '3.6') && !startsWith(matrix.python-version, '3.7') }} + run: | python -m pylint tests/*.py