Skip to content

Commit

Permalink
chore: add pytest-rerunfailures
Browse files Browse the repository at this point in the history
Unfortunately, CI is flaky and this is difficult to replicate locally.

Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Dec 30, 2024
1 parent f61a093 commit 86110ce
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,18 @@ devel-docs = [
"mkdocstrings[python] ~= 0.23",
]
devel-test = [
"aiohttp[speedups] ~=3.0",
"coverage[toml] ~=7.0",
"flask[async] ~=3.0",
"httpx ~=0.0",
"mock ~=5.0",
"pytest-asyncio ~=0.0",
"pytest-bdd ~=8.0",
"pytest-cov ~=6.0",
"pytest-xdist ~=3.0",
"pytest ~=8.0",
"testcontainers ~=4.0",
"aiohttp[speedups] ~=3.0",
"coverage[toml] ~=7.0",
"flask[async] ~=3.0",
"httpx ~=0.0",
"mock ~=5.0",
"pytest-asyncio ~=0.0",
"pytest-bdd ~=8.0",
"pytest-cov ~=6.0",
"pytest-rerunfailures ~=15.0",
"pytest-xdist ~=3.0",
"pytest ~=8.0",
"testcontainers ~=4.0",
]
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.8.4"]

Expand Down Expand Up @@ -191,6 +192,9 @@ addopts = [
# Xdist options
"--numprocesses=logical",
"--dist=worksteal",
# Rerun options
"--reruns=3",
"--rerun-except=assert",
]
filterwarnings = [
"ignore::DeprecationWarning:examples",
Expand Down

0 comments on commit 86110ce

Please sign in to comment.