Skip to content

Commit 1c609f3

Browse files
committed
tests: Run tests on Linux CI
The EndToEnd tests cannot currently be run: * they deadlock when run under `swift test` (#143) * the CI requires the use of an HTTP proxy to download from the Internet, but SDK generator does not support proxies (#145) The tests are conditionally compiled only on Linux, so we must skip them in CI. Fixes #45
1 parent fd3aef5 commit 1c609f3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525

2626
test:
2727
<<: *common
28-
command: /bin/bash -xcl "./Utilities/test.sh $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
28+
command: /bin/bash -xcl "./Utilities/test.sh $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-} --skip EndToEndTests"
2929

3030
# util
3131

Utilities/test.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@
1313

1414
set -ex
1515

16-
if [ "$(uname)" = Darwin ]; then
17-
swift test $@
18-
else
19-
swift build --build-tests $@
20-
fi
16+
swift test $@

0 commit comments

Comments
 (0)