summaryrefslogtreecommitdiff
path: root/test/linter/test_circleci.vader
blob: f63cc513b1b5ff85223a4b13afc7200555a4e6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'