From 1fbeef36d6b993772691898bfa10f29bc6ea85ac Mon Sep 17 00:00:00 2001 From: umarcor Date: Fri, 24 Dec 2021 16:34:56 +0100 Subject: [PATCH] CoverageCollection: skip config file if empty --- .github/workflows/CoverageCollection.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CoverageCollection.yml b/.github/workflows/CoverageCollection.yml index cfccc79..f5bde28 100644 --- a/.github/workflows/CoverageCollection.yml +++ b/.github/workflows/CoverageCollection.yml @@ -99,7 +99,7 @@ jobs: print(f"File '{pyProjectFile}' not found and no ' .coveragerc' file specified.") # Read output paths from '.coveragerc' file - else: + elif len(coverageRC) > 0: coverageRCFile = Path(coverageRC) if coverageRCFile.exists(): with coverageRCFile.open("rb") as file: