From 84a4a76aafaefe125df785ebac2e4858ec54debb Mon Sep 17 00:00:00 2001 From: w0rp <devw0rp@gmail.com> Date: Sat, 19 Jun 2021 10:34:57 +0100 Subject: Close #3770 - Add support for checking circleci configs --- test/linter/test_circleci.vader | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/linter/test_circleci.vader (limited to 'test/linter') diff --git a/test/linter/test_circleci.vader b/test/linter/test_circleci.vader new file mode 100644 index 00000000..f63cc513 --- /dev/null +++ b/test/linter/test_circleci.vader @@ -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' -- cgit v1.2.3