Validate missing imports in CI (#26)

This commit is contained in:
Cory Benfield authored and GitHub committed 2022-08-16 01:18:40 -07:00
1 parent 76a75874dd
commit d994e50da7
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ services:
test:
image: swift-http-structured-headers:20.04-main
environment:
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
shell:
image: swift-http-structured-headers:20.04-main
+1 -1
View File
@@ -32,7 +32,7 @@ services:
test:
<<: *common
command: /bin/bash -xcl "swift test --enable-test-discovery -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
command: /bin/bash -xcl "swift test --enable-test-discovery -Xswiftc -warnings-as-errors $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
# util