mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
tests/data: mark non-XML-compliant files as such, xmllint the rest in CI
There are 58 non-compliant files. Mark them with the `notxml` keyword. Also include the compliant ones in the GHA/checksrc xmllint CI job. Also: - delete XML prolog from the 3 test data files that had them. - FILEFORMAT.md: document the `notxml` keyword. - FILEFORMAT.md: fix a typo. Follow-up tode49cc89ab#19470 Follow-up tof3095f0dbd#19528 Follow-up to87ba80a6dfCloses #19595
This commit is contained in:
parent
36d0f12881
commit
7f3731ce14
64 changed files with 71 additions and 5 deletions
2
.github/scripts/pyspelling.words
vendored
2
.github/scripts/pyspelling.words
vendored
|
|
@ -463,6 +463,7 @@ libWebSocket
|
|||
libz
|
||||
libzstd
|
||||
LineageOS
|
||||
linter
|
||||
linux
|
||||
lldb
|
||||
ln
|
||||
|
|
@ -981,6 +982,7 @@ Xbox
|
|||
XDG
|
||||
xdigit
|
||||
Xilinx
|
||||
xmllint
|
||||
XP
|
||||
Xtensa
|
||||
XYZ
|
||||
|
|
|
|||
6
.github/workflows/checksrc.yml
vendored
6
.github/workflows/checksrc.yml
vendored
|
|
@ -128,7 +128,11 @@ jobs:
|
|||
persist-credentials: false
|
||||
|
||||
- name: 'check'
|
||||
run: git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint >/dev/null
|
||||
run: |
|
||||
{
|
||||
git grep -z -i -l -E '^<\?xml' || true
|
||||
git grep -z -L -F 'notxml' 'tests/data/test*' || true
|
||||
} | xargs -0 -r xmllint >/dev/null
|
||||
|
||||
miscchecks:
|
||||
name: 'misc checks'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue