diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e70613290..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 @@ -222,7 +227,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 +318,4 @@ jobs: with: coverageFile: coverage.xml token: ${{ secrets.GITHUB_TOKEN }} - thresholdAll: 0.80 + thresholdAll: 0.89