The Pipeline Is Slow. Skip Tests to Ship?

A 40-minute pipeline is blocking releases. A teammate wants to skip the test stage to ship faster. Defend your call.

intermediate12 min5 roundsCI/CD

Answer key reviewed by Branko Petric

Read first: Building a CI Pipeline with GitHub Actions

Your decision

Your deploy pipeline takes 40 minutes, and the team is frustrated. A teammate proposes skipping the test stage so releases ship faster. Do you agree, and what do you do instead?

The situation

Your CI/CD pipeline takes about 40 minutes end to end, and the test stage is the slowest part. The team is frustrated that every release waits on it, and momentum is stalling.

Context

The test stage runs unit, integration, and end-to-end suites serially on a single runner with no caching. A teammate proposes removing the test stage from the deploy pipeline so releases go out immediately, arguing developers can just test locally.

More: CI/CD scenario interview questions