Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Update pytest output file names
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sevin committed Dec 12, 2023
1 parent ae7dbe1 commit ca8be5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check-compass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca8be5b

Please sign in to comment.