Skip to content

Conversation

@jonahgraham
Copy link
Owner

No description provided.

Rather than a single matrix that covers all OSes, split them up
so that enumerating different ones is a little easier.

This has three benefits:

1. `matrix.exclude` is easier to write in this format
2. Tools like `act` work with simple string matrix dimensions
   (see new comment at top of maven.yml)
3. conditional execution on file name pattens are easier to implement
   (see subsequent PR on this topic)

Part of eclipse-platform#2714
Many of the PRs on SWT are OS specific, this change only runs the build
on OSes if there are changes that can affect that OS.

This is going to be more important with eclipse-platform#2714 because potentially a number
of new jobs will be run per PR and avoiding some of the extra time
waiting will be a benefit to all.

The minor negative of skipping tests conditionally is that the **Test
Results** summary comment will report less runs that base commit.

Part of eclipse-platform#2714
@github-actions
Copy link

github-actions bot commented Nov 12, 2025

Test Results

   34 files   -  84     34 suites   - 84   5m 41s ⏱️ - 11m 9s
4 608 tests  -  44  4 543 ✅  -  92  65 💤 +48  0 ❌ ±0 
  163 runs   - 175    160 ✅  - 174   3 💤  -  1  0 ❌ ±0 

Results for commit 56340b7. ± Comparison against base commit 73e542b.

This pull request removes 44 tests.
AllGTKTests Test_GtkConverter ‑ test_HeuristicASCII_dollarSign
AllGTKTests Test_GtkConverter ‑ test_HeuristicASCII_emptyString
AllGTKTests Test_GtkConverter ‑ test_HeuristicASCII_letterA
AllGTKTests Test_GtkConverter ‑ test_HeuristicASCII_letters
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16LE_null
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16_AsciiLetters
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16_Asciiletter
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16_LotsOfLetters
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16_letter
AllGTKTests Test_GtkConverter ‑ test_HeuristicUTF16_letters
…
This pull request skips 50 tests.
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_StatusTextListener_hoverMouseOverLink
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_setForegroundAlphaLorg_eclipse_swt_graphics_Color
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_setUrl_remote_with_post
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_setUrl_remote_with_post
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_CCombo ‑ test_setForegroundAlphaLorg_eclipse_swt_graphics_Color
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_CLabel ‑ test_setForegroundAlphaLorg_eclipse_swt_graphics_Color
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_CTabFolder ‑ test_setForegroundAlphaLorg_eclipse_swt_graphics_Color
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText ‑ test_setForegroundAlphaLorg_eclipse_swt_graphics_Color
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard ‑ test_getContentsBothClipboards
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard ‑ test_setContentsBothClipboards
…

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants