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

OCHA-DAP / hdx-python-api / 17252088498
97%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2025 10:35PM UTC
Jobs 1
Files 21
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 Aug 2025 10:33PM UTC coverage: 97.046% (+0.05%) from 96.992%
17252088498

push

github

web-flow
HDXDSYS-2287 Support dev to create plan for detection of identical versions of uploaded resources (#91)

* Hash files before upload and compare hash and size
* Return statuses
* Move file upload and url checks to appropriate places
* Code cleanup
* Fix tests
* Fix CKAN test
* Ensure filestore resources are checked when creating datasets
* Increase coverage
* Split format correction into separate method with tests
* Only set url_type to api when there's a url if it is not already set to upload (alternatively could check if url looks like a filestore one but I think there are some datasets set up linking to other datasets' resources)
* Fix resource_view and showcase to check required fields on create path only in create_in_hdx
* Add warning for when we don't update filestore when hash and size same
* Updating resource view - CKAN returns None so must check fields before update not after
* Check that new or updated resources do not have both a url and a file to upload
* Add breaking changes to doc (it's sort of breaking in that behaviour is changing)
* Add blue and green demo to server list

292 of 292 new or added lines in 8 files covered. (100.0%)

5 existing lines in 2 files now uncovered.

3022 of 3114 relevant lines covered (97.05%)

0.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.5
-0.5% src/hdx/data/vocabulary.py
4
93.88
-0.23% src/hdx/data/resource.py
Jobs
ID Job ID Ran Files Coverage
1 tests - 17252088498.1 26 Aug 2025 10:35PM UTC 21
97.05
GitHub Action Run
Source Files on build 17252088498
  • Tree
  • List 21
  • Changed 8
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17252088498
  • b2e43106 on github
  • Prev Build on main (#16892082409)
  • Next Build on main (#17253583872)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc