From 5cc837467448ec9fd72f2ae5a785534bea5d606b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=98=D0=B7?= =?UTF-8?q?=D0=B2=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Sat, 24 Aug 2024 17:40:04 +0300 Subject: [PATCH] =?UTF-8?q?refs=20#183=20=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=20=D0=B2=D0=B7=D0=B0=D0=B8?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8=D1=8F=20?= =?UTF-8?q?=D1=81=20codecov.io?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Использование Github Actions; 2. Использование токена. --- .github/workflows/coverage.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bca1e45..4656d26 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,10 +30,17 @@ jobs: run: | cmake --build Build/burst --target coverage - - name: Publish coverage to codecov + - name: Prepare coverage report run: | lcov --version lcov --capture --directory Build/burst --output-file coverage.info lcov --remove coverage.info "/usr/*" --output-file coverage.info lcov --remove coverage.info "*/test/*" --output-file coverage.info - bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports" + + - name: Publish coverage report + uses: codecov/codecov-action@v4 + with: + file: coverage.info + token: ${{secrets.CODECOV}} + disable_search: true + verbose: true