Update commandline to discover tests for newer swift versions.

This commit is contained in:
Peter Adams 2022-08-01 13:09:45 +01:00
parent 7e3f8c3a06
commit f9586ce646
3 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ services:
test: test:
image: swift-nio-extras:18.04-5.4 image: swift-nio-extras:18.04-5.4
command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
shell: shell:
image: swift-nio-extras:18.04-5.4 image: swift-nio-extras:18.04-5.4

View File

@ -11,6 +11,7 @@ services:
test: test:
image: swift-nio-extras:20.04-5.5 image: swift-nio-extras:20.04-5.5
command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
shell: shell:
image: swift-nio-extras:20.04-5.5 image: swift-nio-extras:20.04-5.5

View File

@ -28,7 +28,7 @@ services:
test: test:
<<: *common <<: *common
command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}" command: /bin/bash -xcl "cat /etc/lsb-release && swift -version && swift test -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-}"
# util # util