CircleCI Dynamic Configuration, formally known as Setup Workflow, allows for a maximum of 1 workflow in the initial setup workflow. So if
setup: true is set then the following config would be invalid:
workflows: one: jobs: - unit-tests two: jobs: - integration-tests
Customers can work around this by combining both workflows into a single workflow:
workflows: one: jobs: - unit-tests - integration-tests
Note: More than one workflow can be defined within a dynamic config, and the above error can be avoided as long as conditional parameters are set so that only one workflow will be executed.