Automatically run tests in pipelines