Skip to content

Commit

Permalink
Merge pull request #91 from ngraymon/fix_coverage
Browse files Browse the repository at this point in the history
Update coverage to 100% with `code_eT_zhz.py` included
  • Loading branch information
ngraymon authored Jun 29, 2022
2 parents 4ff926a + 1826cbc commit d7bfa28
Show file tree
Hide file tree
Showing 134 changed files with 55,717 additions and 291 deletions.
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

0 comments on commit d7bfa28

Please sign in to comment.