Add editor-config tests to the automation

This commit is contained in:
Victor Martinez 2020-07-19 20:45:10 +01:00
parent 13eef6855e
commit 9c24338fe8
No known key found for this signature in database
GPG key ID: 4058B656AD58C4F5

View file

@ -498,6 +498,7 @@ function RunTestCases() {
# Test case languages #
#######################
# TestCodebase "Language" "Linter" "Linter-command" "Regex to find files" "Test Folder"
TestCodebase "EDITORCONFIG" "editorconfig-checker" "editorconfig-checker" "^.*$" "editorconfig-checker"
TestCodebase "YML" "yamllint" "yamllint -c $YAML_LINTER_RULES" ".*\.\(yml\|yaml\)\$" "yml"
TestCodebase "JSON" "jsonlint" "jsonlint" ".*\.\(json\)\$" "json"
TestCodebase "XML" "xmllint" "xmllint" ".*\.\(xml\)\$" "xml"