I think most test runners have a --stop-on-failure feature, but using it has the downside of not giving you the complete list of failing tests.
If you haven't touched your gitlab pipelines for a few months, check out DAG pipelines [0] - I got my web project deployment pipeline down from 25 to ~12 minutes by running tests sooner.
If you haven't touched your gitlab pipelines for a few months, check out DAG pipelines [0] - I got my web project deployment pipeline down from 25 to ~12 minutes by running tests sooner.
[0] https://docs.gitlab.com/ee/ci/directed_acyclic_graph/