Skip to content

Commit

Permalink
ci: separate pylint steps for hepdata_lib & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt committed Jul 23, 2024
1 parent ba9f2e2 commit e0c9d26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e0c9d26

Please sign in to comment.