You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing the pre-existing version constant(s) would likely yield a more sensible test.
For example, a unit test that verifies the version in version.py is in sync with the version in pyproject.toml could simultaneously address two issues:
The explicit version check workflow step could be eliminated.
Some code from the module in question would be tested.
File exasol/toolbox/metrics.py in method
total_coverage()
callssubprocess.run()
:A sample CI build displays the following error message.
The current ticket proposes to
CalledProcessError
then reportstdout
andstderr
of the subprocessAdditionally
import exasol.text_ai_extension
butpyproject.toml
using thresholdfail_under = 15
I was able to make coverage report terminate successfully by
__init__.py
, e.g. (see below)File
__init__.py
:file
test/unit/unit_smoke_test.py
:The text was updated successfully, but these errors were encountered: