Skip to content

Commit 80b2af7

Browse files
committed
build: update condition check
1 parent 3a928fb commit 80b2af7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/scripts/run_tests_coverage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ main() {
162162

163163
make test-javascript-cov TESTS_FILTER=".*/${pkg}/.*"
164164

165-
if [ -f reports/coverage/lcov-report/index.html ]; then
165+
if [ ! -f reports/coverage/lcov-report/${pkg}/lib/index.html ]; then
166166
# Reports for packages with no dependencies are stored in the `lcov-report` directory
167167
coverage_path="reports/coverage/lcov-report/index.html"
168168
top_level_report=true

0 commit comments

Comments
 (0)