From: Lott, Christopher (cl778h) Date: Thu, 5 Mar 2020 15:26:09 +0000 (-0500) Subject: Drop junit option in pytest and remove pom.xml X-Git-Tag: 2.1.4~1 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=1e502ffd2ef7f41f4bb06104c78203f2cb3aadac;p=ric-plt%2Fa1.git Drop junit option in pytest and remove pom.xml These are not needed by the new tox-sonarqube analysis job, the config is now in the JJB configuration. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I2a87d0cc3bd9adbd7690b8c35797020bde9a78ef --- diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 35e7913..0000000 --- a/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - org.o-ran-sc.ric-plt.a1 - a1mediator - 0 - - UTF-8 - . - xunit-results.xml - coverage.xml - xunit-results.xml - py - python - a1/*.py - tests/*,setup.py - - diff --git a/tox.ini b/tox.ini index 9606882..2e6ad9e 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,7 @@ setenv = # Note, before this will work, for the first time on that machine, run ./install_deps.sh commands = # sometimes the -s flag is helpful; add -s after pytest; which streams the logs as they come in, rather than saving them all for the end of tests - pytest --junitxml xunit-results.xml --cov a1 --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 + pytest --cov a1 --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 coverage xml -i [testenv:flake8]