artefactual-sdps / temporal-activities

Temporal activities is a library of general purpose activities
Apache License 2.0
1 stars 0 forks source link

Add a "validate bag" activity #22

Closed djjuhasz closed 4 months ago

djjuhasz commented 4 months ago

Fixes #19.

The expectation is https://github.com/artefactual-labs/bagit-gython will be used as the bag validator. The bag validator is being injected into the activity so the setting up the embedded Python interpreter (which is expensive) is only done once in a workflow even if validate_activity is run multiple times.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.05%. Comparing base (e610eaf) to head (c1e4882).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== + Coverage 80.87% 82.05% +1.17% ========================================== Files 6 7 +1 Lines 183 195 +12 ========================================== + Hits 148 160 +12 Misses 19 19 Partials 16 16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.