From 2bb8fed2084d8390849f18a94a862326d11d65c0 Mon Sep 17 00:00:00 2001 From: luca-chen198 Date: Sun, 11 Oct 2026 13:37:26 +0200 Subject: [PATCH] Run the tests serially in CI swift test runs the Swift Testing suites in parallel, and run that way the suite has crashed inside AppKit and InputMethodKit on an unchanged main, one run in eight (measured in #175); serially it held ten runs in ten there. The serial run takes about eight seconds, so nothing is saved by the parallel one. CONTRIBUTING names the same command, so a local run and CI agree. actions/checkout moves to v5: v4 targets Node.js 20, which the runners have deprecated and were already forcing onto Node.js 24. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 4 ++-- CONTRIBUTING.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e2cd271..18995670 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: macos-15 steps: - name: Check out - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Select Xcode uses: maxim-lobanov/setup-xcode@v1 @@ -29,4 +29,4 @@ jobs: run: swift build -v - name: Test - run: swift test --parallel + run: swift test --no-parallel diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f6bdba2d..246c7de7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ description — that gets you an answer faster than describing it in prose. git clone https://github.com/nodes-app/swift-markdown-engine.git cd swift-markdown-engine swift build -swift test +swift test --no-parallel ``` Open `Package.swift` in Xcode for a graphical environment. The runnable @@ -48,7 +48,8 @@ Screen recordings welcome. `Tests/MarkdownEngineTests/` - DocC comments for any public-API change; update `Demo/` if relevant - One-line entry in `CHANGELOG.md` under `[Unreleased]` -- `swift build` and `swift test` must be green; CI runs the same checks +- `swift build` and `swift test --no-parallel` must be green; CI runs the same checks. + Run in parallel, the suite has crashed inside AppKit on an unchanged `main` too (#175) ## Design constraints