Skip to content

Commit

Permalink
CI: Move Python.h checker into Lint job.
Browse files Browse the repository at this point in the history
  • Loading branch information
DWesl authored and rgommers committed Apr 21, 2024
1 parent d9f8b97 commit 26d35a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 43 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ jobs:
python tools/lint.py --diff-against origin/$GITHUB_BASE_REF
python tools/unicode-check.py
python tools/check_test_name.py
- name: Check that Python.h is first in any file including it.
shell: bash
run: |
python tools/check_python_h_first.py $(find scipy -name highspy -prune \
-o -type f \( -iname \*.[ch] -o -name \*.[ch]pp -o -name \*.cc -o -name \*.hh \) -print)
43 changes: 0 additions & 43 deletions .github/workflows/python-h-first.yml

This file was deleted.

0 comments on commit 26d35a4

Please sign in to comment.