This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch pytest-finalize
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 6d32684f5670d22e74ba163b968894a51a5b4bd0
Author: Dillon Walls <[email protected]>
AuthorDate: Tue Nov 1 15:30:49 2022 +0000

    [#8445] update docker test run to use pytest
---
 scripts/jenkins-python3.7.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/jenkins-python3.7.sh b/scripts/jenkins-python3.7.sh
index 3746742a8..d8f5baa67 100755
--- a/scripts/jenkins-python3.7.sh
+++ b/scripts/jenkins-python3.7.sh
@@ -42,7 +42,7 @@ echo 
"==========================================================================
 echo "Run: cleanup previous runs"
 echo 
"============================================================================="
 rm -rf ./allura-data
-git clean -f -x  # remove test.log, nosetest.xml etc (don't use -d since it'd 
remove our venv dir)
+git clean -f -x  # remove test.log, pytest.junit.xml etc (don't use -d since 
it'd remove our venv dir)
 
 docker-compose down
 
@@ -98,7 +98,7 @@ docker-compose exec -T web bash -c "pyflakes Allura* Forge* 
scripts | awk -F\: '
 docker-compose exec -T web bash -c "pycodestyle Allura* Forge* scripts > 
pep8.txt"
 
 # TODO: ALLURA_VALIDATION=all
-docker-compose exec -T -e LANG=en_US.UTF-8 web ./run_tests --with-xunitmp # 
--with-coverage --cover-erase
+docker-compose exec -T -e LANG=en_US.UTF-8 web ./run_tests 
--junit-xml=pytest.junit.xml # --with-coverage --cover-erase
 retcode=$?
 
 #find . -name .coverage -maxdepth 2 | while read coveragefile; do pushd 
`dirname $coveragefile`; coverage xml --include='forge*,allura*'; popd; done;

Reply via email to