How to test Canton bootstrap script non-interactively in a ci job?
App Development2 posts614 views4 likesLast activity Jun 2020
RI
Richard_KapolnaiOP
Jun 2020I’d like to test if a Canton script works in a CI job, so I need something which returns a nonzero error code on failure (e.g. if the script has invalid syntax, or causes runtime exception).
SO
soren
Jun 2020Hi Richard, you can use the headless script mode to run Canton, which exits with a non-zero exit code if the bootstrap script fails. This is the best way to run Canton as part of testing in CI.