artefactual-sdps / temporal-activities

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

Add ffvalidate activity, fixes #20 #36

Closed djjuhasz closed 2 weeks ago

djjuhasz commented 3 weeks ago

Add an ffvalidate activity which reads a directory of files, identifies the file formats using Siegfried [1], and checks the file formats against the configured CSV list of allowed file formats.

[1] => https://github.com/richardlehane/siegfried

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 91.12903% with 11 lines in your changes missing coverage. Please review.

Project coverage is 83.92%. Comparing base (8ea34d2) to head (d771980). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ffvalidate/activity.go 92.77% 4 Missing and 2 partials :warning:
ffvalidate/siegfried_embed.go 87.80% 4 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #36 +/- ## ========================================== + Coverage 81.88% 83.92% +2.04% ========================================== Files 16 18 +2 Lines 436 560 +124 ========================================== + Hits 357 470 +113 - Misses 55 63 +8 - Partials 24 27 +3 ```

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