Add `persist_to_workspace ` validation in the CLI command `circleci config validate`
complete
H
Hlibco@gmail.com
I got the following error on CircleCi even though my
config.yml
was valid when I checked locally using the CLI command: "circleci config validate"In step 10 (persist_to_workspace): Paths must not contain the parent directory
It would be great to have caught this error early on, before pushing the code.
CCI-I-893

Nathan Fish
updated the status to
complete
N
Nathan Dintenfass
Actually, this particular error might be possible. Tracking this internally as CIRCLE-16417
N
Nathan Dintenfass
Unfortunately, I don't think we will be able to statically validate this -- it's a runtime consideration that would require either some awkward parsing and assumptions or a more formal syntax.