1
0
mirror of https://github.com/apple/swift-nio-extras.git synced 2025-05-18 19:22:42 +08:00

Validate missing imports in CI ()

This commit is contained in:
Cory Benfield 2022-08-16 09:19:37 +01:00 committed by GitHub
parent dabef818d3
commit 9697a611c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

@ -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