Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
c893066e
Commit
c893066e
authored
Oct 21, 2022
by
Julius Künzel
💬
Browse files
[CI: xmllint] Run for all xml files, but only if change affects any xml file
parent
a64c7db5
Pipeline
#252745
failed with stage
in 12 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c893066e
...
...
@@ -9,4 +9,11 @@ xml_lint:
tags
:
-
Linux
script
:
-
xmllint --noout data/effects/*.xml data/effects/*/*.xml data/transitions/*.xml data/transitions/*/*.xml
# enable globstar to be able to use ** as recursive wildcard
-
shopt -s globstar
# exit shell on non-zero exit code
-
set -e
# execute xmllint for all xml files
-
for x in **/*.xml; do echo "Processing $x"; xmllint -noout "$x"; done
rules
:
-
changes
:
[
"
**/*.xml"
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment