def METHOD_NAME(config):
    with open(config) as f:
        data = f.read()
    parsed = yaml.load(data, Loader=yaml.SafeLoader)
    skipped_tests = dict()
    if parsed is None:
        # empty skip.yml
        return skipped_tests
    for entry in parsed:
        for skip in entry["skip_on"]:
            if _should_skip(**skip):
                skipped_tests[entry["test"]] = skip["reason"]
    return skipped_tests