ci: ignore HTML files for server tests

This commit is contained in:
Ankush Menat 2022-07-12 20:23:34 +05:30 committed by Ankush Menat
parent 99d3fe3893
commit 3a7c7ff182

View file

@ -46,7 +46,7 @@ def is_ci(file):
return ".github" in file
def is_frontend_code(file):
return file.lower().endswith((".css", ".scss", ".less", ".sass", ".styl", ".js", ".ts", ".vue"))
return file.lower().endswith((".css", ".scss", ".less", ".sass", ".styl", ".js", ".ts", ".vue", ".html"))
def is_docs(file):
regex = re.compile(r'\.(md|png|jpg|jpeg|csv|svg)$|^.github|LICENSE')