Skip to content

Commit 9587f41

Browse files
committed
Install js_loader separately
1 parent e7397ee commit 9587f41

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.github/workflows/test_code.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ jobs:
3333
- name: Install folium from source
3434
run: python -m pip install -e . --no-deps --force-reinstall
3535

36+
- name: Install js_loader
37+
run: python -m pip install js_loader
38+
3639
- name: Code tests
3740
run: python -m pytest -vv --ignore=tests/selenium

.github/workflows/test_selenium.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
shell: bash -l {0}
3131
run: python -m pip install -e . --no-deps --force-reinstall
3232

33+
- name: Install js_loader
34+
shell: bash -l {0}
35+
run: python -m pip install js_loader
36+
3337
- name: Selenium tests
3438
shell: bash -l {0}
3539
run: python -m pytest tests/selenium -vv

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
branca>=0.6.0
22
jinja2>=2.9
3-
js_loader
43
numpy
54
requests
65
xyzservices

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def walk_subpkg(name):
4141
with open("requirements.txt") as f:
4242
tests_require = f.readlines()
4343
install_requires = [t.strip() for t in tests_require]
44+
install_requires.append("js_loader")
4445

4546
setup(
4647
name="folium",

0 commit comments

Comments
 (0)