Skip to content

Commit

Permalink
ci: separate pylint steps for hepdata_lib & tests (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt authored Jul 23, 2024
1 parent ba9f2e2 commit dcc23bd
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 dcc23bd

Please sign in to comment.