Skip to content

Commit bb0935a

Browse files
committed
fix: Correct awk comparison syntax in coverage summary step
Signed-off-by: shubham kumar <shubham.kumar@intel.com>
1 parent f430f1a commit bb0935a

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/bindings-sysman-python-unit-tests-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
# Run tests with coverage and generate multiple report formats
9494
python -m pytest test/unit_tests/ \
9595
--cov=source \
96+
--cov-config=pyproject.toml \
9697
--cov-report=term-missing \
9798
--cov-report=html:htmlcov \
9899
--cov-report=xml:coverage.xml \

bindings/sysman/python/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ Issues = "https://github.com/oneapi-src/level-zero/issues"
3535
package-dir = {"" = "source"}
3636
py-modules = ["pyzes"]
3737
packages = ["examples"]
38+
39+
[tool.coverage.run]
40+
omit = [
41+
"source/examples/*",
42+
"test/*",
43+
]

0 commit comments

Comments
 (0)