Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
conda activate coverage
[ -f /opt/intel/oneapi/setvars.sh ] && source /opt/intel/oneapi/setvars.sh
git clean -fxd
python scripts/gen_coverage.py --verbose
python scripts/gen_coverage.py

- name: Total number of coverage attempts
run: |
Expand Down
4 changes: 1 addition & 3 deletions scripts/gen_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def run(
"term-missing",
"--pyargs",
"dpnp",
"-vv",
*pytest_opts.split(),
],
cwd=setup_dir,
Expand All @@ -109,8 +108,6 @@ def run(
)

def find_objects():
import os

objects = []
dpnp_path = os.getcwd()
search_path = os.path.join(dpnp_path, "dpnp")
Expand Down Expand Up @@ -146,6 +143,7 @@ def find_objects():
"export",
"-format=lcov",
"-ignore-filename-regex=/tmp/icpx*",
r"-ignore-filename-regex=.*/backend/kernels/elementwise_functions/.*\.hpp$",
"-instr-profile=" + instr_profile_fn,
]
+ objects
Expand Down
Loading