From ca8be5b14c1e9f5a23c466e71f039940c784f018 Mon Sep 17 00:00:00 2001 From: Arnaud Sevin Date: Tue, 12 Dec 2023 11:01:38 +0100 Subject: [PATCH] Update pytest output file names --- .github/workflows/check-compass.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-compass.yml b/.github/workflows/check-compass.yml index 4a0004f..8999cd1 100644 --- a/.github/workflows/check-compass.yml +++ b/.github/workflows/check-compass.yml @@ -73,16 +73,17 @@ jobs: export PYTHONDONTWRITEBYTECODE=1 eval "$(/home/compass/miniconda3/bin/conda shell.bash hook)" conda activate compass - pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=shesha tests/pytest/supervisor | tee pytest-coverage.txt + pytest --junitxml=pytest-sup.xml --cov-report=term-missing:skip-covered --cov=shesha tests/pytest/supervisor | tee pytest-sup-coverage.txt pytest --junitxml=pytest-rtc.xml --cov-report=term-missing:skip-covered --cov=shesha tests/pytest/rtc | tee pytest-rtc-coverage.txt pytest --junitxml=pytest-rtc_standalone.xml --cov-report=term-missing:skip-covered --cov=shesha tests/pytest/rtc_standalone | tee pytest-rtc_standalone-coverage.txt + cat pytest-sup-coverage.txt pytest-rtc-coverage.txt > pytest-coverage.txt - name: Fix dubious ownership run: git config --global --add safe.directory /__w/shesha/shesha - name: Pytest coverage comment uses: MishaKav/pytest-coverage-comment@main with: multiple-files: | - Supervisor, pytest-coverage.txt, pytest.xml + Supervisor, pytest-sup-coverage.txt, pytest-sup.xml RTC, pytest-rtc-coverage.txt, pytest-rtc.xml RTC Standalone, pytest-rtc_standalone-coverage.txt, pytest-rtc_standalone.xml # pytest-xml-coverage-path: pytest-coverage.xml