Function to recursively check all detected files for a specific string
Open
@tom-seqera is already working on this.
Since Oct 29, 2024.
- Dominant language
- Java
- Stars
- 13
- Forks
- 11
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 6
Description
Currently there are two helper methods for checking output files:
- Find all files with a pattern and generate an md5 (when contents stable between tests)
- Find all files with a pattern and check existence by file name (when contents are unstable between tests)
While the of unstability fallback is good e.g. binary files, it's not as good as checking inside a file for consistent contents (E.g. when maybe it's only a single timestamp inside the file is unstable).
An intermediate check is to check for certain strings, e.g. maybe 'SUCCESSFUL RUN' at the end of a log.
It would be nice to have a function that does the same as the two existing methods, but with the string checking functionality.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.