mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[CI] Skip whitespace checks on specific files
This commit is contained in:
parent
9a33c9532a
commit
2a57a963c8
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
@ -47,6 +47,14 @@ jobs:
|
||||
- name: Whitespace errors
|
||||
if: success() || failure()
|
||||
run: |
|
||||
# These are files that should be ignored for whitespace checks
|
||||
echo ".gitmodules -diff" >> .gitattributes
|
||||
echo "*.sln -diff" >> .gitattributes
|
||||
echo "test/data/*.inp -diff" >> .gitattributes
|
||||
echo "test/data/*.xml -diff" >> .gitattributes
|
||||
echo "test/data/*.cti -diff" >> .gitattributes
|
||||
echo "test_problems/**/*blessed* -diff" >> .gitattributes
|
||||
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.whitespace \
|
||||
-cr-at-eol,tab-in-indent,blank-at-eol,blank-at-eof
|
||||
|
Loading…
Reference in New Issue
Block a user