RealDevSquad / RealDevSquad/website-backend

Setting a Timeout for Tests in GitHub Actions

Open
#1,116 0 comments 0 reactions 1 assignee View on GitHub

@prakashchoudhary07 is already working on this.

Since May 26, 2023.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Recently, some of our tests have been running up to 6 hours before getting canceled out . This is a waste of resources, as we are only interested in the results of the tests. We can fix this by setting a timeout for the tests. This will cause the tests to be cancelled if they take longer than a certain amount of time. Usually our tests get completed in less than 5 minutes hence a good timeout value can be 10-20 minutes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.