Skip to content

Commit aa0d74d

Browse files
committed
WIP
1 parent 1430777 commit aa0d74d

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/test_streamlit_folium.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ jobs:
3636
npm install
3737
npm run build
3838
39-
- name: Install streamlit_folium dev dependencies
39+
- name: Install streamlit-folium
4040
run: |
41-
pip install -r streamlit_folium/tests/requirements.txt
41+
cd streamlit_folium
42+
pip install -e . --no-deps
43+
python -c "from folium.plugins import draw; print(draw.__file__)"
44+
python -c "from folium.plugins import draw; print(open(draw.__file__).read())"
4245
43-
- name: Install folium from source
44-
shell: bash -l {0}
46+
- name: Install streamlit_folium dev dependencies
4547
run: |
46-
python -m pip install -e . --no-deps --force-reinstall
48+
pip install -r streamlit_folium/tests/requirements.txt
4749
4850
- name: Install playwright dependencies
4951
run: |
@@ -58,10 +60,13 @@ jobs:
5860
python -c "from folium.plugins import draw; print(draw.__file__)"
5961
python -c "from folium.plugins import draw; print(open(draw.__file__).read())"
6062
63+
- name: Install folium from source
64+
run: |
65+
python -m pip install -e . --no-deps --force-reinstall
66+
6167
- name: Test with pytest and retry flaky tests up to 3 times
6268
run: |
63-
cd streamlit_folium
64-
pip install -e . --no-deps --force-reinstall
69+
echo "inside test run"
6570
python -c "from folium.plugins import draw; print(draw.__file__)"
6671
python -c "from folium.plugins import draw; print(open(draw.__file__).read())"
6772
pytest tests/test_frontend.py --browser chromium -s --reruns 3 --junit-xml=test-results.xml

0 commit comments

Comments
 (0)