From 6771172126ca4e9fb84beb7b4d7f60724bf3434b Mon Sep 17 00:00:00 2001 From: Cole Crawford <16374762+ColeDCrawford@users.noreply.github.com> Date: Thu, 23 May 2024 11:48:38 -0400 Subject: [PATCH] Skip covered due to long comments ``` File read successfully "/home/runner/work/python-edtf/python-edtf/./combined_junit_pytest.xml" Warning: Your comment is too long (maximum is 65536 characters), coverage report will not be added. Warning: Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode ``` --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb9d7f3..09b9c65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,13 @@ jobs: - name: Run unit tests run: | - pytest --junitxml=junit_pytest_main.xml + pytest --junitxml=junit_pytest_main.xml --cov-report=term-missing:skip-covered mv .coverage .coverage_main - name: Run Django integration tests working-directory: ./edtf_django_tests run: | - pytest edtf_integration/tests.py --ds=edtf_django_tests.settings --junitxml=../junit_pytest_django.xml + pytest edtf_integration/tests.py --ds=edtf_django_tests.settings --junitxml=../junit_pytest_django.xml --cov-report=term-missing:skip-covered mv .coverage ../.coverage_django - name: Combine coverage reports