mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-15 01:18:58 +08:00
Validate missing imports in CI (#171)
This commit is contained in:
parent
dabef818d3
commit
9697a611c4
@ -10,6 +10,8 @@ services:
|
||||
|
||||
test:
|
||||
image: swift-nio-extras:20.04-main
|
||||
environment:
|
||||
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
|
||||
|
||||
shell:
|
||||
image: swift-nio-extras:20.04-main
|
||||
|
@ -28,7 +28,7 @@ services:
|
||||
|
||||
test:
|
||||
<<: *common
|
||||
command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-}"
|
||||
command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
|
||||
|
||||
# util
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user