Validate missing imports in CI (#127)

This commit is contained in:
Cory Benfield authored and GitHub committed 2022-08-16 01:28:09 -07:00
1 parent 4832fa0d13
commit 5fdc8c4daa
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ services:
test:
image: swift-crypto:20.04-main
environment: []
environment:
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
#- SANITIZER_ARG=--sanitize=thread
cmake:
+2 -2
View File
@@ -29,8 +29,8 @@ services:
test:
<<: *common
# FIXME: get rid of existing warnings
#command: /bin/bash -xcl "swift test --enable-test-discovery -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
command: /bin/bash -xcl "swift test --enable-test-discovery"
#command: /bin/bash -xcl "swift test --enable-test-discovery -Xswiftc -warnings-as-errors $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
command: /bin/bash -xcl "swift test --enable-test-discovery $${IMPORT_CHECK_ARG-}"
cmake:
<<: *common