From ee76a8f80534c91e1f8e0ba0da245e806fd94907 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Tue, 25 Nov 2025 18:15:47 +0100 Subject: [PATCH 1/2] ci(tests): Increase coverage minimum threshold to 89% --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e70613290..ef1917018 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -222,7 +222,7 @@ jobs: echo "Pytest failed - failing coverage check" exit 1 fi - coverage report --fail-under=80 + coverage report --fail-under=89 publish-test-results: if: always() @@ -313,4 +313,4 @@ jobs: with: coverageFile: coverage.xml token: ${{ secrets.GITHUB_TOKEN }} - thresholdAll: 0.80 + thresholdAll: 0.89 From cef10664b32843baf75f342ea7c8873526fc60b2 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Tue, 25 Nov 2025 18:16:31 +0100 Subject: [PATCH 2/2] ci(tests): Fix Tk dependency regression in python 3.14x --- .github/workflows/pytest.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index ef1917018..9945ad372 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -53,7 +53,12 @@ jobs: - name: Install system dependencies for GUI testing run: | sudo apt-get update - sudo apt-get install -y python3-tk scrot xdotool x11-utils gnome-screenshot + sudo apt-get install -y python3-tk scrot xdotool x11-utils gnome-screenshot tcl8.6 tk8.6 libtcl8.6 libtk8.6 + + - name: Ensure Tcl/Tk search paths + run: | + echo "TCL_LIBRARY=/usr/share/tcltk/tcl8.6" >> $GITHUB_ENV + echo "TK_LIBRARY=/usr/share/tcltk/tk8.6" >> $GITHUB_ENV - name: Install dependencies and application # without --editable, the coverage report is not generated correctly