File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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}
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()
You can’t perform that action at this time.
0 commit comments