mirror of
https://github.com/optim-enterprises-bv/patroni.git
synced 2025-11-02 19:38:17 +00:00
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:
committed by
GitHub
parent
afab392ead
commit
d3e3b4e16f
2
setup.py
2
setup.py
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user