We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09addfe commit 7803cf0Copy full SHA for 7803cf0
2 files changed
pyproject.toml
@@ -79,6 +79,7 @@ exclude = '''
79
'''
80
81
[tool.pytest.ini_options]
82
+addopts = "--cov=nemo_reinforcer --cov-report=term --cov-report=json -s -rA -x"
83
testpaths = ["tests"]
84
python_files = "test_*.py"
85
tests/run_unit.sh
@@ -32,7 +32,7 @@ export PYTHONPATH=$(realpath ${SCRIPT_DIR}/..):${PYTHONPATH:-}
32
33
# Run unit tests
34
echo "Running unit tests..."
35
-if ! pytest unit/ --cov=nemo_reinforcer --cov-report=term --cov-report=json -s -rA "$@"; then
+if ! pytest unit/ "$@"; then
36
echo "[ERROR]: Unit tests failed."
37
exit 1
38
fi
0 commit comments