"value":"\n <p>The main part of my CI pipeline tasks are running the automated tests, coding standards checks and static analysis.<\/p>\n\n<p>But which of these are the most valuable?<\/p>\n\n<p>I used to run the coding standards check first as it was the quickest, followed by static analysis and the automated tests.<\/p>\n\n<p>If a task were going to fail, it would fail quickly.<\/p>\n\n<p>But is that the objective of the CI pipeline?<\/p>\n\n<p>Whilst it needs to be quick, the main reason to run these is to ensure things work as expected.<\/p>\n\n<p>Recently, I changed my pipelines to run the tests first, as these verify the code's behaviour.<\/p>\n\n<p>I want to know if the code works but has a coding standard error that needs to be fixed rather than the pipeline failing on the error and not knowing whether the code works.<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>The main part of my CI pipeline tasks are running the automated tests, coding standards checks and static analysis.<\/p>\n\n<p>But which of these are the most valuable?<\/p>\n\n<p>I used to run the coding standards check first as it was the quickest, followed by static analysis and the automated tests.<\/p>\n\n<p>If a task were going to fail, it would fail quickly.<\/p>\n\n<p>But is that the objective of the CI pipeline?<\/p>\n\n<p>Whilst it needs to be quick, the main reason to run these is to ensure things work as expected.<\/p>\n\n<p>Recently, I changed my pipelines to run the tests first, as these verify the code's behaviour.<\/p>\n\n<p>I want to know if the code works but has a coding standard error that needs to be fixed rather than the pipeline failing on the error and not knowing whether the code works.<\/p>\n\n ",