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

   54 files   -  64     54 suites   - 64   7m 39s ⏱️ - 9m 11s
4 497 tests  - 155  4 266 ✅  - 369  231 💤 +214  0 ❌ ±0 
  104 runs   - 234    104 ✅  - 230    0 💤  -   4  0 ❌ ±0 

Results for commit 7816148. ± Comparison against base commit 73e542b.

This pull request removes 155 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 219 tests.
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_Constructor_multipleInstantiationsInDifferentThreads
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_setUrl_local
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_setUrl_remote
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_afterPageReload
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_stackedCalls
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_with_String
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_with_boolean
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_with_integer
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_BrowserFunction_callback_with_javaReturningInt
…

♻️ 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