How to validate your CircleCI configuration

Validate your config file

You can avoid pushing additional commits to test your .circleci/config.yml and confirm that your file is free of syntax errors, YAML linting issues, etc. by using the CircleCI CLI to validate your configuration locally.

Using CircleCI CLI to validate

Troubleshooting

  • Confirm that your configuration file is in the right directory: .circleci/config.yml and you are in the project's root directory
  • If the error still occurs, please run circleci version and reach out to our support team

Additional Resources

Was this article helpful?
46 out of 85 found this helpful

Comments

0 comments

Article is closed for comments.