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

MITLibraries / dspace-submission-composer / 17103101501
95%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2025 03:34PM 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

20 Aug 2025 03:33PM UTC coverage: 97.167% (-0.08%) from 97.249%
17103101501

push

github

web-flow
Align workflow methods for iterating over item metadata (#195)

Why these changes are being introduced:
* For the OpenCourseWare (OCW) workflow, the method would previously raise
a FileNotFoundError if a metadata JSON file (data.json) was not found
in the zip file. These changes ensure that OCW returns a dict
regardless (containing at least the item identifier). This was identified
as a prerequisite to also aligning the 'reconcile' pattern with
the other DSC CLI commands.

How this addresses that need:
* Add try-except block to OpenCourseWare.item_metadata_iter
* Add unit test to validate OpenCourseWare.metadata_mapping
* Fix: Update OCW metadata mapping JSON file

Side effects of this change:
* This also fixes a breaking change that was introduced by the
previous update that introduced a metadata transformer for OCW.

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

5 of 7 new or added lines in 1 file covered. (71.43%)

1029 of 1059 relevant lines covered (97.17%)

0.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.89
-0.65% dsc/workflows/opencourseware.py
Jobs
ID Job ID Ran Files Coverage
1 17103101501.1 20 Aug 2025 03:34PM UTC 21
97.17
GitHub Action Run
Source Files on build 17103101501
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17103101501
  • c5e2755a on github
  • Prev Build on main (#16996050077)
  • Next Build on main (#17105956610)
  • 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