Config validation doesn't detect invalid configuration


#1

Consider this configuration:

version: 2

jobs:
  s1:
    docker:
      - image: circleci/python:3.6
    steps:
      - run:
          command: echo 1

  s2:
    docker:
      - image: circleci/python:3.6
    steps:
      - run:
          command: echo 2

workflows:
  version: 2
  bla:
    jobs:
      - s1
      - s2:
          requires: s1

Running circleci config validate results in config file is valid yet builds silently(!) fail to trigger. The reason is that the requires setting for the s2 workflow step is invalid and needs to be a list.

The configuration validator needs to find this, otherwise, it’s worse than not having one.


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.