DiamondLightSource / DiamondLightSource/python-copier-template

Optionally fail for slow tests

Open
#235 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jinja
Stars
25
Forks
10
Avg merge
4h 4m
Merged PRs (30d)
6

Description

In a number of projects we are adding in CI that will fail unit tests if they take longer than X e.g.
* https://github.com/bluesky/ophyd-async/issues/729
* https://github.com/DiamondLightSource/dodal/issues/1003
* https://github.com/DiamondLightSource/mx-bluesky/issues/663

Given this is used by lots of different repos we should put it in the template for people to use optionally.

Contributor guide

Open the contributing guide

Research direction

Start by locating the template's CI and test configuration, then compare the linked projects' slow-test handling. Done means generated projects can optionally enable a configurable failure threshold for slow unit tests without affecting projects that leave the option disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, testing-qa, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.