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

MITLibraries / dspace-submission-composer / 12774012547
96%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2025 06:26PM UTC
Jobs 1
Files 12
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

14 Jan 2025 06:25PM UTC coverage: 97.143% (+0.5%) from 96.597%
12774012547

push

github

web-flow
In 1104 deposit command (#68)

* Add deposit CLI command

Why these changes are being introduced:
* A CLI command is needed for running the workflows's deposit functionality

How this addresses that need:
* Rename BaseWorkflow > Workflow across repo
* Add s3-bucket, output-queue, and email-recipients CLI params
* Add deposit CLI command
* Add DemoWorkflow for testing purposes
* Refactor Workflow class to use init defaults instead of some class attributes
* Refactor Workflow.load method to optionally override class attributes with CLI params
* Add _get_subclasses method for collecting all subclasses
* Update _build_bitstream_dict method to ignore non-file values and the metadata.csv file
* Add deposit and reconcile_discrepancies_logged CLI tests
* Add metadata mapping for DemoWorkflow

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1104

* Update Pipfile.lock

* Updates based on discussion in PR #68

* Update click option docstrings
* Make email-recipients required and update type hint to indicate it is a comma-delimited string
* Refactor Workflow.run method to include try/except block and return a dict summarizing the results of the submission
* Add new unit tests for Workflow.run method to account for code changes

* Further updates based on discussion in PR #68

* Refactor Workflow __init__  methods to better utilize defaults and named args
* Refactor Workflow.run method's return object to provide a summary of the submission results
* Remove Workflow.load method as it is now unnecessary and update CLI to call Workflow.get_workflow method
* Update type hinting and processing for email-recipients param

63 of 63 new or added lines in 5 files covered. (100.0%)

408 of 420 relevant lines covered (97.14%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12774012547.1 14 Jan 2025 06:26PM UTC 12
97.14
GitHub Action Run
Source Files on build 12774012547
  • Tree
  • List 12
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12774012547
  • b0150287 on github
  • Prev Build on main (#12677602835)
  • Next Build on main (#12799339996)
  • Delete
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