Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
ci: Add option to rerun failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Jan 27, 2022
1 parent 0aac503 commit a8c0f09
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ jobs:
- name: Test
run: |
export PYTHONPATH=$(pwd);
pipenv run pytest .
make tests
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tests:
PYTHONPATH=$$(pwd) pipenv run pytest . -s
PYTHONPATH=$$(pwd) pipenv run pytest . -s --reruns 3 --reruns-delay 1
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ python-gnupg = ">=0.4.6"
PyYAML = ">=5.3.1"
docker = "*"
kubernetes = "*"
pytest-rerunfailures = "*"

[dev-packages]
rkd-python = ">=2.3.4"
Expand Down
67 changes: 65 additions & 2 deletions Pipfile.lock

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

0 comments on commit a8c0f09

Please sign in to comment.