From 92787386143ca4338834038c55eeba82448fbb45 Mon Sep 17 00:00:00 2001 From: Eism Date: Tue, 7 Jan 2025 11:34:09 +0200 Subject: [PATCH] various fixes --- .github/workflows/check_unit_tests.yml | 9 +++++---- buildscripts/ci/linux/tools/lcov_badger.py | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check_unit_tests.yml b/.github/workflows/check_unit_tests.yml index e59cccf2ebbb6..4711b0247d7b5 100644 --- a/.github/workflows/check_unit_tests.yml +++ b/.github/workflows/check_unit_tests.yml @@ -3,10 +3,11 @@ name: 'Check: Unit Tests (utest)' on: pull_request: workflow_dispatch: - code_coverage: - description: 'Enable code coverage' - required: false - default: 'false' + inputs: + code_coverage: + description: 'Enable code coverage' + required: false + default: 'false' schedule: - cron: "0 3 * * 4" # Every Thursday night at 03:00 for master branch diff --git a/buildscripts/ci/linux/tools/lcov_badger.py b/buildscripts/ci/linux/tools/lcov_badger.py index 83727b439acf7..088f975f6f04a 100644 --- a/buildscripts/ci/linux/tools/lcov_badger.py +++ b/buildscripts/ci/linux/tools/lcov_badger.py @@ -25,7 +25,7 @@ """ def create_svg(percent): - return SVG_TEMPLATE.replace("{{PERCENT}}", str(percent) + '%') + return SVG_TEMPLATE.replace("{{PERCENT}}", str(percent)) def extract_coverage(data): lines = data.split("\n")