Skip to content

Scope Swift warning errors to test commands - #1

Merged
kamaal111 merged 1 commit into
mainfrom
no-warning
Aug 14, 2026
Merged

Scope Swift warning errors to test commands#1
kamaal111 merged 1 commit into
mainfrom
no-warning

Conversation

@kamaal111

@kamaal111 kamaal111 commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary
Swift package consumers no longer have package-wide warning errors,
while the test workflow keeps strict warning enforcement.

Changes
Remove the package-wide treatAllWarnings(as: .error) setting.
Pass -Xswiftc -warnings-as-errors in both macOS test branches,
including the snapshot-test skip path.

**Summary**
Swift package consumers no longer have package-wide warning errors,
while the test workflow keeps strict warning enforcement.

**Changes**
Remove the package-wide `treatAllWarnings(as: .error)` setting.
Pass `-Xswiftc -warnings-as-errors` in both macOS test branches,
including the snapshot-test skip path.

Signed-off-by: Kamaal Farah <kamaal.f1@gmail.com>
@kamaal111
kamaal111 marked this pull request as ready for review August 14, 2026 20:10
@kamaal111
kamaal111 merged commit f25f8af into main Aug 14, 2026
4 checks passed
@kamaal111
kamaal111 deleted the no-warning branch August 14, 2026 20:11
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