In Continuous Integration, Run Fast and Fundamental Tests First
It’s great to keep your CI/CD pipeline fast, but you don’t need it to run all tests to get feedback on WIP.
Unit tests cover fundamental business logic. If they fail, the results of higher-level tests are irrelevant. Thus your CI should run as a pipeline that stops on failure. Read the full article here.