Skip to content

Commit dd73e6e

Browse files
committed
Bogus commit to break the tests
1 parent 7b62a54 commit dd73e6e

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

Diff for: .github/workflows/test_streamlit_folium.yml

+26-5
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,23 @@ jobs:
2929
ref: master
3030
path: streamlit_folium # Checkout into a subdirectory
3131

32-
- name: Install streamlit_folium dev dependencies
32+
- name: Build streamlit_folium javascript
33+
shell: bash -l {0}
3334
run: |
34-
pip install -r streamlit_folium/tests/requirements.txt
35+
cd streamlit_folium/streamlit_folium/frontend/
36+
npm install
37+
npm run build
3538
36-
- name: Install folium from source
39+
- name: Install streamlit-folium
3740
shell: bash -l {0}
3841
run: |
39-
python -m pip install -e . --no-deps --force-reinstall
42+
cd streamlit_folium
43+
pip install -e .
44+
45+
- name: Install streamlit_folium dev dependencies
46+
shell: bash -l {0}
47+
run: |
48+
pip install -r streamlit_folium/tests/requirements.txt
4049
4150
- name: Install playwright dependencies
4251
run: |
@@ -45,8 +54,20 @@ jobs:
4554
- name: Install annotate-failures-plugin
4655
run: pip install pytest-github-actions-annotate-failures
4756

57+
- name: Install folium from source
58+
shell: bash -l {0}
59+
run: |
60+
python -m pip install -e . --no-deps --force-reinstall
61+
4862
- name: Test with pytest and retry flaky tests up to 3 times
63+
shell: bash -l {0}
4964
run: |
5065
cd streamlit_folium
51-
pip install streamlit-folium
5266
pytest tests/test_frontend.py --browser chromium -s --reruns 3 --junit-xml=test-results.xml
67+
68+
- name: Surface failing tests
69+
if: always()
70+
uses: pmeier/pytest-results-action@main
71+
with:
72+
path: streamlit_folium/test-results.xml
73+
fail-on-empty: false

Diff for: folium/plugins/draw.py

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class Draw(JSCSSMixin, MacroElement):
121121
"""
122122
)
123123

124+
"""
124125
default_js = [
125126
(
126127
"leaflet_draw_js",
@@ -133,6 +134,7 @@ class Draw(JSCSSMixin, MacroElement):
133134
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.2/leaflet.draw.css",
134135
)
135136
]
137+
"""
136138

137139
def __init__(
138140
self,

0 commit comments

Comments
 (0)