From 0dcffdf5f716d66ef1c89e5e128240e61c69eb21 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Fri, 19 Dec 2025 10:50:23 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Configure=20coverage,=20erro?= =?UTF-8?q?r=20on=20main=20tests,=20don't=20wait=20for=20Smokeshow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f72fb9b0..bb2cdc49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,7 +107,6 @@ jobs: - run: uv sync --locked --all-extras --dev - run: ls -la coverage - run: uv run coverage combine coverage - - run: uv run coverage report - run: uv run coverage html --title "Coverage for ${{ github.sha }}" - name: Store coverage HTML uses: actions/upload-artifact@v4 @@ -115,6 +114,7 @@ jobs: name: coverage-html path: htmlcov include-hidden-files: true + - run: coverage report --fail-under=100 # https://github.com/marketplace/actions/alls-green#why check: # This job does nothing and is only used for the branch protection From aa4deca0d212c184ef03d64b7388a00665850c23 Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Fri, 19 Dec 2025 11:37:34 +0100 Subject: [PATCH 2/2] Run `coverage report` with `uv run` --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb2cdc49..e1984f7a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,7 +114,7 @@ jobs: name: coverage-html path: htmlcov include-hidden-files: true - - run: coverage report --fail-under=100 + - run: uv run coverage report --fail-under=100 # https://github.com/marketplace/actions/alls-green#why check: # This job does nothing and is only used for the branch protection