Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix coverage #91

Merged
merged 9 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
13 changes: 12 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,20 @@ include =
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
pragma: deprecated

# Code related to Vectorize b_loop
pragma: vectorize_b_loop

# Code related to hot bands or thermal, not implemented
pragma: hot_bands_or_thermal

# Code related ansatz restriction of only using t1 op
pragma: t1_truncation

# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError

# raise Exception("Should not get here")
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
Expand All @@ -36,6 +46,7 @@ exclude_lines =
def old_print_wrapper
old_print_wrapper
new_t_list = t_list
if False:

# currently unused functions
# full cc latex
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/testing_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
# on pull requests yet.
push:
branches:
- ci_testing #change to test_* or *test etc later
- dev_*
- fix_*
- test_*
workflow_dispatch:

env:
Expand Down
Loading