mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-24 04:37:50 +00:00
Validate missing imports in CI (#26)
This commit is contained in:
1 parent
76a75874dd
commit
d994e50da7
2 files changed
+3
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user