Skip to content

Commit 8fb84b2

Browse files
weissiLukasa
authored andcommitted
enable warnings as errors (#127)
Motivation: Warnings are bad, let's make them errors. Modifications: enable `-warnings-as-errors` Result: Fewer warnings.
1 parent f5a84e3 commit 8fb84b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/docker-compose.1804.50.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818

1919
test:
2020
image: swift-nio-http2:18.04-5.0
21-
command: /bin/bash -cl "swift test && ./scripts/integration_tests.sh"
21+
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors && ./scripts/integration_tests.sh"
2222
environment:
2323
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=70010
2424
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050

0 commit comments

Comments
 (0)