diff --git a/.github/workflows/assert_version.py b/.github/workflows/assert_version.py index 442d051..9ae6bfd 100755 --- a/.github/workflows/assert_version.py +++ b/.github/workflows/assert_version.py @@ -48,6 +48,9 @@ def check(obj, version, parents=''): for r in datapackage['resources']: to_check.append(r['schema']) +else: + raise Exception('No required file found') + for schema_path in to_check: with open(schema_path, 'r') as f: schema = json.load(f)