Skip to content

Commit

Permalink
Install js_loader separately
Browse files Browse the repository at this point in the history
  • Loading branch information
hansthen committed Jan 16, 2025
1 parent e7397ee commit 9587f41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ jobs:
- name: Install folium from source
run: python -m pip install -e . --no-deps --force-reinstall

- name: Install js_loader
run: python -m pip install js_loader

- name: Code tests
run: python -m pytest -vv --ignore=tests/selenium
4 changes: 4 additions & 0 deletions .github/workflows/test_selenium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
shell: bash -l {0}
run: python -m pip install -e . --no-deps --force-reinstall

- name: Install js_loader
shell: bash -l {0}
run: python -m pip install js_loader

- name: Selenium tests
shell: bash -l {0}
run: python -m pytest tests/selenium -vv
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
branca>=0.6.0
jinja2>=2.9
js_loader
numpy
requests
xyzservices
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def walk_subpkg(name):
with open("requirements.txt") as f:
tests_require = f.readlines()
install_requires = [t.strip() for t in tests_require]
install_requires.append("js_loader")

setup(
name="folium",
Expand Down

0 comments on commit 9587f41

Please sign in to comment.