File tree Expand file tree Collapse file tree 7 files changed +23
-22
lines changed Expand file tree Collapse file tree 7 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 4545 pwd
4646 ls -la
4747
48- - name : Debug step
49- run : |
50- pwd
51- echo '====='
52- ls .coverage*
53-
5448 - name : Upload coverage
5549 if : always()
5650 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1111jobs :
1212 run :
1313 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ shell : bash -l {0}
1417
1518 steps :
1619 - name : Checkout Folium
5558 name : coverage-test-geopandas
5659 path : |
5760 .coverage*
61+ include-hidden-files : true
Original file line number Diff line number Diff line change 1111jobs :
1212 run :
1313 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ shell : bash -l {0}
1417
1518 steps :
1619 - uses : actions/checkout@v4
2528 --file requirements-dev.txt
2629
2730 - name : Install folium from source
28- shell : bash -l {0}
2931 run : python -m pip install -e . --no-deps --force-reinstall
3032
3133 - name : Tests with latest branca
32- shell : bash -l {0}
3334 run : |
3435 micromamba remove branca --yes --force
3536 python -m pip install git+https://github.com/python-visualization/branca.git
4243 name : coverage-test-branca
4344 path : |
4445 .coverage*
46+ include-hidden-files : true
Original file line number Diff line number Diff line change 1111jobs :
1212 run :
1313 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ shell : bash -l {0}
1417
1518 steps :
1619 - uses : actions/checkout@v4
2528 --file requirements-dev.txt
2629
2730 - name : Install folium from source
28- shell : bash -l {0}
2931 run : |
3032 python -m pip install -e . --no-deps --force-reinstall
3133
3234 - name : Mypy test
33- shell : bash -l {0}
3435 run : |
3536 mypy folium
Original file line number Diff line number Diff line change 1515 matrix :
1616 python-version : [ "3.9", "3.13" ]
1717 fail-fast : false
18+ defaults :
19+ run :
20+ shell : bash -l {0}
1821
1922 steps :
2023 - uses : actions/checkout@v4
@@ -29,17 +32,16 @@ jobs:
2932 --file requirements-dev.txt
3033
3134 - name : Install folium from source
32- shell : bash -l {0}
3335 run : python -m pip install -e . --no-deps --force-reinstall
3436
3537 - name : Selenium tests
36- shell : bash -l {0}
3738 run : coverage run -p -m pytest tests/selenium -vv
3839
3940 - name : Upload coverage
4041 if : always()
4142 uses : actions/upload-artifact@v4
4243 with :
43- name : coverage-test-selenium
44+ name : coverage-test-selenium-${{ matrix.python-version }}
4445 path : |
4546 .coverage*
47+ include-hidden-files : true
Original file line number Diff line number Diff line change 99jobs :
1010 run :
1111 runs-on : ubuntu-latest
12+ defaults :
13+ run :
14+ shell : bash -l {0}
1215
1316 steps :
1417 - name : Checkout Folium
@@ -24,17 +27,14 @@ jobs:
2427 --file requirements-dev.txt
2528
2629 - name : Install pytest plugins and pixelmatch
27- shell : bash -l {0}
2830 run : |
2931 pip install pixelmatch pytest-github-actions-annotate-failures pytest-rerunfailures
3032
3133 - name : Install folium from source
32- shell : bash -l {0}
3334 run : |
3435 python -m pip install -e . --no-deps --force-reinstall
3536
3637 - name : Test with pytest
37- shell : bash -l {0}
3838 run : |
3939 coverage run -p -m pytest tests/snapshots -s --junit-xml=test-results.xml
4040
6161 name : coverage-test-snapshots
6262 path : |
6363 .coverage*
64+ include-hidden-files : true
Original file line number Diff line number Diff line change 1111jobs :
1212 run :
1313 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ shell : bash -l {0}
1417
1518 steps :
1619 - name : Set up Python
@@ -29,40 +32,34 @@ jobs:
2932 path : streamlit_folium # Checkout into a subdirectory
3033
3134 - name : Build streamlit_folium javascript
32- shell : bash -l {0}
3335 run : |
3436 cd streamlit_folium/streamlit_folium/frontend/
3537 npm install
3638 npm run build
3739
3840 - name : Install streamlit_folium dev dependencies
39- shell : bash -l {0}
4041 run : |
4142 cd streamlit_folium
4243 python -m pip install --upgrade pip
4344 pip install -r tests/requirements.txt
4445
4546 - name : Install streamlit-folium
46- shell : bash -l {0}
4747 run : |
4848 cd streamlit_folium
4949 pip install -e .
5050
5151 - name : Install playwright dependencies
52- shell : bash -l {0}
5352 run : |
5453 playwright install --with-deps
5554
5655 - name : Install annotate-failures-plugin
5756 run : pip install pytest-github-actions-annotate-failures coverage
5857
5958 - name : Install folium from source
60- shell : bash -l {0}
6159 run : |
6260 python -m pip install -e . --force-reinstall
6361
6462 - name : Test with pytest and retry flaky tests up to 3 times
65- shell : bash -l {0}
6663 run : |
6764 cd streamlit_folium
6865 python -m pytest tests/test_frontend.py --browser chromium -s --reruns 3 -k "not test_layer_control_dynamic_update"
You can’t perform that action at this time.
0 commit comments