From f607ee3738b857fabfb36cd009ceecd2b5ea212b Mon Sep 17 00:00:00 2001 From: Logan Markewich Date: Mon, 7 Oct 2024 17:00:54 -0600 Subject: [PATCH] fix coverage check --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a11c388488a03..4d507914ee15a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -59,7 +59,7 @@ jobs: root="$file" # Keep going up the directory tree until we find a directory containing a marker file # (e.g., 'pyproject.toml' for python projects) - while [[ ! -f "$root/pyproject.toml" && "$root" != "." && "$root" != "/" ]]; do + while [[ ! -f "$root/pyproject.toml" && "$root" != "." && "$root" != "/" && "$root" != "./" ]]; do root=$(dirname "$root") done