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

HEPData / hepdata-cli
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: v0.3.1
DEFAULT BRANCH: master
Repo Added 01 Jun 2020 01:20PM UTC
Files 5
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

LAST BUILD ON BRANCH v0.2.0
branch: v0.2.0
CHANGE BRANCH
x
Reset
  • v0.2.0
  • ai-tests-for-pr9-1756722405
  • ai-tests-for-pr9-1756723124
  • github-actions
  • main
  • master
  • mh-returnFindAsList
  • trunting/return-paths
  • upload_feature
  • v0.1.0
  • v0.2.2
  • v0.2.3
  • v0.3.0
  • v0.3.1
  • yodaH5

pending completion
57

push

travis-ci

web-flow
Upload feature (#2)

* New upload cli and api function, working with sandbox only atm.

* Extended upload functionality to include non-sandbox records. Needs to match email and invitation cookie. Reduced run time of older tests by limiting MAX_MATCHES to 100 when called from pytest.

* Added mocked test for upload, updated README with upload function. Slight stability improvement in download tests.

* Adding missing test requirement requests_mock

* Changed sandbox upload endpoint

* Uploading directly to /consume endpoints

* Updated upload test

* Merged changes from master

* Removed need for '.split()' of 'id_list' when using the Python API. Slightly improved test coverage. Updated Readme. Added single .yaml and .yaml.gz submission test files.

* Trying tests

* docs: add some more detail about upload feature to README and docstrings

* tests: use https rather than http in upload test since SITE_URL changed

* requests timeout feature combined with retry one into 'resilient_requests' module; added a timeout test; switched off traceback with a flag, to improve readability for end-user.

* 'builtins' module is provided by 'future' pypi package, not 'builtins'

* Expanded raise for status to display reason of failure

* upload: print location of record after a successful upload request

* Also change version to 0.2.0 instead of 0.1.1 since new functionality.

* Extended coverage, mainly new test to check handling of HTTP exceptions

* Upload requires login

* Updated tests with pytest.raises

* HTTP error reason from .json()['message'] instead of string parsing

* Updated password input method, updated tests

* Updated endpoint

* README: add some explanation that a password is required to upload

* Slightly improved coverage

* Removed debugging print function

Co-authored-by: Graeme Watt <Graeme.Watt@durham.ac.uk>

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

195 of 201 relevant lines covered (97.01%)

3.88 hits per line

Relevant lines Covered
Build:
Build:
201 RELEVANT LINES 195 COVERED LINES
3.88 HITS PER LINE
Source Files on v0.2.0
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
57 v0.2.0 Upload feature (#2) * New upload cli and api function, working with sandbox only atm. * Extended upload functionality to include non-sandbox records. Needs to match email and invitation cookie. Reduced run time of older tests by limiting MAX_M... push 15 Jul 2020 01:57PM UTC web-flow travis-ci pending completion  
See All Builds (95)
  • Repo on GitHub
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

© 2026 Coveralls, Inc