Closed yarikoptic closed 1 year ago
@yarikoptic Exactly which lines in status.yaml
files should the README link to? (Use this file as an example if necessary.) Your comment here implies that you want the "X passed", "Y failed", and "Z timed out" strings under each test to each link to the matching assets_*
fields in the matching test item, but the referenced SO link only supports adding the line number for the start of a mapping to that mapping, not assigning line numbers to string fields in mappings.
3 passed , 0 failed, 0 timeout
so -- yes - to the matching assets_
fields. If that top level SO doesn't give a complete solution, please have a look below e.g. at https://stackoverflow.com/a/70679131/1265472 or mentioned solution there using ruaml.yaml.
As requested in https://github.com/dandi/dandisets-healthstatus/issues/18#issuecomment-1382055138 with some pointers to possible solutions presented on SO. Might be easier to implement after/along with #21 so when (re)loading results from .yaml files just keep track about location of each entry there.