From bb2dca12ea82af9d6fcd7654f8b90514a93b3434 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sat, 6 May 2023 20:01:59 +0000 Subject: Backport: Do not build every branch. Too expensive. --- .github/workflows/linux-build.yml | 8 +++++++- .github/workflows/mac-build.yml | 8 +++++++- .github/workflows/win-build.yml | 8 +++++++- tests/textWind.test | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 4245471..c6cbabd 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -1,5 +1,11 @@ name: Linux -on: [push] +on: + push: + branches: + - "main" + - "core-8-branch" + tags: + - "core-**" permissions: contents: read defaults: diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml index cf19261..d05347e 100644 --- a/.github/workflows/mac-build.yml +++ b/.github/workflows/mac-build.yml @@ -1,5 +1,11 @@ name: macOS -on: [push] +on: + push: + branches: + - "main" + - "core-8-branch" + tags: + - "core-**" permissions: contents: read env: diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 1da53b6..02ec606 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -1,5 +1,11 @@ name: Windows -on: [push] +on: + push: + branches: + - "main" + - "core-8-branch" + tags: + - "core-**" permissions: contents: read env: diff --git a/tests/textWind.test b/tests/textWind.test index 232f165..1de8a54 100644 --- a/tests/textWind.test +++ b/tests/textWind.test @@ -41,7 +41,7 @@ Some of the upcoming tests will probably fail." # upcoming tests when wrapping enters in play # Also -height 6 (lines) is an important assumption # Moreover the widget must have the same padding in x and y (see proc bo) -# However the tests are not sensitive to -borderwidth and -highlightthickness +# However the tests are not sensitive to -borderwidth and -highlightthickness text .t -font $fixedFont -width 30 -height 6 -borderwidth 2 -highlightthickness 2 pack .t -expand 1 -fill both update -- cgit v0.12