From 89814cbe4bf92f69a1c7833ee7de1ded2564683f Mon Sep 17 00:00:00 2001 From: CircleCI Config Suggestions Bot <131677722+CircleCI-config-suggestions-bot@users.noreply.github.com> Date: Fri, 5 May 2023 14:21:14 -0400 Subject: [PATCH] Upload test results to CircleCI --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ac6a49..f023c83 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,10 @@ jobs: - run: if python3 --version | grep -q "Python 3.6"; then pip install --prefer-binary -U opencv-python-headless numpy; fi # to avoid compilation - run: pip3 install -r requirements.txt - run: pip3 install pytest - - run: pytest + - run: mkdir -p test-results + - run: pytest --junitxml=test-results/junit.xml -o junit_family=legacy + - store_test_results: + path: test-results workflows: all-tests: