Skip to content

ci: run swift build and swift test on every push and PR - #14

Merged
gsdali merged 1 commit into
mainfrom
ci/run-tests-in-ci
Aug 19, 2026
Merged

ci: run swift build and swift test on every push and PR#14
gsdali merged 1 commit into
mainfrom
ci/run-tests-in-ci

Conversation

@gsdali

@gsdali gsdali commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Adds a blocking tests workflow running swift build then swift test on every push and PR.

Part of the fleet-wide rollout in ecosystem#40: 12 of the 14 repos in the OCCT stack ran no tests in CI at all, so a failing test produced a green tick. This repo was one of them.

That gap is not hypothetical. Five assertions in OCCTSwiftAIS sat broken for nine days (OCCTSwiftAIS#46) because nothing in its pipeline ever compiled a test target.

swift build and swift test are separate steps on purpose. swift build does not compile test targets, so it is a weaker signal than it looks: OCCTSwiftIO built clean with zero errors while carrying three real breaks in its test target during the OCCTSwift v3.0.0 repin.

Modelled on OCCTSwiftScripts/.github/workflows/tests.yml, which already solved this once: macos-15, actions/cache on .build keyed by Package.resolved, blocking rather than continue-on-error.

Baseline was measured locally before rollout rather than assumed. See the workflow's own header comment for this repo's count.

Notes for the reviewer

Nothing but the workflow file is added. No source, manifest or doc change.

This repo carried a full test suite that no CI job ever executed, so a failing
test produced a green tick. Recorded fleet-wide as ecosystem#40, where 12 of the
14 repos in the OCCT stack had the same gap.

swift build and swift test are separate steps deliberately: swift build does not
compile test targets, so on its own it is a weaker signal than it appears.

Baseline measured locally before rollout.
@gsdali
gsdali merged commit 64b349c into main Aug 19, 2026
3 checks passed
@gsdali
gsdali deleted the ci/run-tests-in-ci branch August 19, 2026 08:18
@kilo-code-bot

kilo-code-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • .github/workflows/tests.yml

Reviewed by nemotron-3-ultra-550b-a55b:free · Input: 62.1K · Output: 2.3K · Cached: 34.6K

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.

1 participant