mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-03 01:53:30 +08:00
Close #3770 - Add support for checking circleci configs
This commit is contained in:
13
test/linter/test_circleci.vader
Normal file
13
test/linter/test_circleci.vader
Normal 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'
|
||||
Reference in New Issue
Block a user