From 47f30f22a9db381c6983a551320fc702f9e46089 Mon Sep 17 00:00:00 2001 From: Iori Yanokura Date: Tue, 2 Jan 2024 23:36:53 +0900 Subject: [PATCH] Add --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9da1cbfb..68510d85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,10 +56,10 @@ jobs: run: | set -o pipefail coverage erase - coverage run -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered | tee pytest-coverage.txt - coverage report | tee -a pytest-coverage.txt + coverage run -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered + coverage xml - name: Pytest coverage comment uses: MishaKav/pytest-coverage-comment@main with: - pytest-coverage-path: ./pytest-coverage.txt + pytest-xml-coverage-path: ./coverage.xml junitxml-path: ./pytest.xml