Skip to content

Commit f47f291

Browse files
committed
Improvements
1 parent a60a406 commit f47f291

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.github/workflows/test_playwright.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,3 @@ jobs:
5252
with:
5353
path: test-results.xml
5454
fail-on-empty: false
55-
56-
- name: Upload screenshots
57-
if: failure()
58-
uses: actions/upload-artifact@v4
59-
with:
60-
name: screenshots
61-
path: /tmp/screenshot_*_*.png

.github/workflows/test_snapshots.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ jobs:
2323
--file requirements.txt
2424
--file requirements-dev.txt
2525
26-
- name: Install pixelmatch
26+
- name: Install pytest plugins and pixelmatch
2727
shell: bash -l {0}
2828
run: |
29-
pip install pixelmatch
30-
31-
- name: Install annotate-failures-plugin
32-
run: pip install pytest-github-actions-annotate-failures
29+
pip install pixelmatch pytest-github-actions-annotate-failures pytest-rerunfailures
3330
3431
- name: Install folium from source
3532
shell: bash -l {0}
@@ -39,7 +36,7 @@ jobs:
3936
- name: Test with pytest
4037
shell: bash -l {0}
4138
run: |
42-
python -m pytest tests/snapshots -s --junit-xml=test-results.xml
39+
python -m pytest tests/snapshots -s --reruns=3 --junit-xml=test-results.xml
4340
4441
- name: Surface failing tests
4542
if: always()

0 commit comments

Comments
 (0)