ampproject / ampproject/amphtml

Look for ways to speed up end-to-end tests

Open
#32,616 2 comments 0 reactions 1 assignee Claimed by @rileyajones View on GitHub
P3: When Possible Stale Type: Bug WG: infra
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

During CI, we run end-to-end tests against four build flavors: the `nomodule` build and the three experiment builds.

As more long-running tests have been added, it routinely takes ~10 minutes to run a few hundred tests. For contrast, we run more than 12,000 unit tests in a similar amount of time.

This goal of this issue is to explore ways to reduce the running time of our end-to-end tests. Doing so will save time and CPU $$, and reduce overall release turnaround time.

**Link to `main` branch builds:** [here](https://app.circleci.com/pipelines/github/ampproject/amphtml?branch=main)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.