Minor tuning of tests (#2201)

- Reduce verbosity for unit tests
- Refactor GH actions config and try again macos behave tests
This commit is contained in:
Alexander Kukushkin
2022-02-10 15:38:16 +01:00
committed by GitHub
parent afab392ead
commit d3e3b4e16f
6 changed files with 23 additions and 44 deletions

View File

@@ -109,6 +109,8 @@ class PyTest(_Command):
except Exception:
raise RuntimeError('py.test is not installed, run: pip install pytest')
logging.getLogger().setLevel(logging.WARNING)
args = ['--verbose', 'tests', '--doctest-modules', MAIN_PACKAGE] +\
['-s' if logging.getLogger().getEffectiveLevel() < logging.WARNING else '--capture=fd'] +\
['--cov', MAIN_PACKAGE, '--cov-report', 'term-missing', '--cov-report', 'xml']