Close #3770 - Add support for checking circleci configs

This commit is contained in:
w0rp committed 2021-06-19 10:34:57 +01:00
1 parent 1b08791228
commit 84a4a76aaf
8 files changed
+116

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
Before:
call ale#assert#SetUpLinterTest('yaml', 'circleci')
After:
call ale#assert#TearDownLinterTest()
Execute(The linter should not run for every YAML file):
AssertLinterNotExecuted
Execute(The linter should for YAML files in a .circleci directory):
call ale#test#SetFilename('../test-files/.circleci/config.yml')
AssertLinter 'circleci', 'circleci config validate - < %s'