Skip to content

Commit

Permalink
Merge pull request #218 from sarahyurick/rerunfailures
Browse files Browse the repository at this point in the history
Rerun flaky PyTest
  • Loading branch information
sarahyurick authored Aug 28, 2024
2 parents 2ee9d8c + 53766af commit cd4c490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
pip install wheel cython
pip install --no-cache-dir .
pip install pytest
pip install pytest-rerunfailures
- name: Run tests
run: |
python -m pytest -v --cpu
1 change: 1 addition & 0 deletions tests/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def test_incorrect_snapshot_order_news(self):
start_snapshot = "2021-10"
urls = get_common_crawl_urls(start_snapshot, end_snapshot, news=True)

@pytest.mark.flaky(reruns=3)
def test_uneven_common_crawl_range(self):
start_snapshot = "2021-03"
end_snapshot = "2021-11"
Expand Down

0 comments on commit cd4c490

Please sign in to comment.