From 65cf1157d76cf1952008e9bfe6391dfa19a58e17 Mon Sep 17 00:00:00 2001 From: Steffen Brinckmann Date: Tue, 31 Oct 2023 15:09:06 +0100 Subject: [PATCH] debug 1 --- .github/workflows/validator_pypi_rocrate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validator_pypi_rocrate.yml b/.github/workflows/validator_pypi_rocrate.yml index b5ec71a..ed3e8c9 100644 --- a/.github/workflows/validator_pypi_rocrate.yml +++ b/.github/workflows/validator_pypi_rocrate.yml @@ -19,6 +19,7 @@ jobs: pip install rocrate - name: Test with pytest run: | + from pathlib import Path from zipfile import ZIP_DEFLATED from zipfile import Path as ZPath from zipfile import ZipFile @@ -26,6 +27,7 @@ jobs: from rocrate.model.entity import Entity from rocrate.model.contextentity import ContextEntity + cwd = Path('.') for fileName in cwd.glob('*.eln'): print(f'Try to parse: {fileName.name}') with ZipFile(fileName, 'r', compression=ZIP_DEFLATED) as elnFile: