• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tethysplatform / tethys / 40389096645
100%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 07:47PM UTC
Jobs 1
Files 217
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 07:42PM UTC coverage: 99.993%. Remained the same
40389096645

push

github

web-flow
Airgap Tethys when STATICFILES_USE_NPM is true (#1300)

* Add select2-bootstrap-5-theme as a static dependency

- Register it in vendor_static_dependencies so it can be served locally
- Replace the hardcoded jsDelivr CDN link in map_layout.html with the vendored
  dependency, so the Select2 Bootstrap 5 theme works air-gapped

* Use local plotly in map layout when STATICFILES_USE_NPM is True

- Add staticfiles_use_npm to map layout's context dictionary
- Use staticfiles_use_npm to determine when to use the local plotly instead of the CDN provided plotly
- Continue to allow specifying the version of plotly in the controller when staticfiles_use_npm is False
- Local plotly is inlined from the installed Python package via the plotly_view gizmo dependency

* Add fontawesome as a static dependency

- Register it in vendor_static_dependencies so it can be served locally
- Replace the hardcoded Font Awesome CDN link (use.fontawesome.com) in
  tethys_layout.html with the vendored dependency, so fontawesome works air-gapped
- Online, Font Awesome now loads from jsDelivr (the vendored dependency's CDN) instead of use.fontawesome.com

* Add dependency_script and dependency_link template tags

- Let app templates load third-party JS/CSS that is served from the app's local
  node_modules when STATICFILES_USE_NPM is True, and from the CDN otherwise, so
  apps work air-gapped without a manual local/CDN toggle
- Derive the local path automatically from jsDelivr and unpkg npm URLs, so authors
  only pass the CDN URL they would normally use
- Accept an optional local_path for CDNs that can't be auto-derived (e.g. cdnjs)
- Register the tags in the tethys template tag library so they're available via {% load tethys %}

* Fall back to the installed version when the requested version is unavailable offline

- In get_custom_version_url, serve the installed (default) version locally instead
  of the CDN when STATICFILES_USE_NPM is True and a different version is requested
- T... (continued)

41 of 41 new or added lines in 4 files covered. (100.0%)

14584 of 14585 relevant lines covered (99.99%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40389096645.1 26 Oct 2026 07:47PM UTC 217
99.99
GitHub Action Run
Source Files on build 40389096645
  • Tree
  • List 217
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 123b9cdd on github
  • Prev Build on main (#40158095177)
  • Next Build on main (#40393063385)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc