From 0fabcd67febc4509f1b018b7dd4265cba4b6739c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristupas=20Antanavi=C4=8Dius?= Date: Thu, 18 Apr 2024 16:11:30 +0300 Subject: [PATCH 1/2] Output pytest junit xml report --- ci/test_deb.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/test_deb.sh b/ci/test_deb.sh index 8c2f5b3ef..62bd1051d 100755 --- a/ci/test_deb.sh +++ b/ci/test_deb.sh @@ -51,6 +51,10 @@ case "${pattern}" in ;; esac +# Generate pytest junit report when running in CI +if [[ -n "$CI" ]]; then + args+=("--junitxml=${WORKDIR}/pytest-result-$category.xml") +fi mkdir -p "${WORKDIR}"/"${COVERDIR}" From dd3788d8ca5393bbb61f58e4484db440892ac45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristupas=20Antanavi=C4=8Dius?= Date: Fri, 26 Apr 2024 12:03:17 +0300 Subject: [PATCH 2/2] Add confluent-kafka python dependency. confluent-kafka will be used to send pytest results to kafka. --- ci/docker/tester/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/docker/tester/requirements.txt b/ci/docker/tester/requirements.txt index 0c7985a2a..f67691008 100644 --- a/ci/docker/tester/requirements.txt +++ b/ci/docker/tester/requirements.txt @@ -3,6 +3,7 @@ black==24.3.0 certifi>=2022.12.07 chardet==4.0.0 click==8.0.3 +confluent-kafka==2.3.0 idna==3.7 iniconfig==1.1.1 isort==5.9.3