Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use pytests--lf feature to stabalize CI #3626

Closed
Labels
⚙️ testsaffected functionality: tests
@Bibo-Joshi

Description

@Bibo-Joshi

It rather frequently happens that a handful of tests fail in the CI due to flakyness (even though Harshil always puts admirable effort in trying to stabalize that away :D). Rerunning the failing jobs usually fixes that, but it requires manual work.

Pytest comes with the--lf feature, i.e. it allows to re-run only the failing tests. I suggest to make use of featurer in our workflow definition by runningpytest --lf one (or maybe even twice). For tests failing due to flakyness, this hopefully reduces the number of failing jobs. For tests that fail due to systematic problems, this will not affect the outcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ testsaffected functionality: tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp