Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Rerun tests on fail #9

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
run: poetry run mypy --ignore-missing-imports bard/

- name: Run tests
run: poetry run pytest --cov
run: poetry run pytest --cov --reruns 2
118 changes: 67 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
thefuzz = { extras = ["speedup"], version = "^0.20.0" }

[tool.poetry.group.ci.dependencies]
pytest-rerunfailures = "^12.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"