summaryrefslogtreecommitdiff
path: root/test/linter/test_circleci.vader
blob: 000a77ec2f89ad5cb9c3809b8db5bb562e81f7f3 (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 --skip-update-check config validate - < %s'