mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
CoverageCollection: skip config file if empty
This commit is contained in:
2
.github/workflows/CoverageCollection.yml
vendored
2
.github/workflows/CoverageCollection.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user