File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,9 +85,11 @@ stages:
8585 linuxSwift52 :
8686 imageName : ' ubuntu-20.04'
8787 containerImage : ' swift:5.2.5-focal'
88+ SWIFT_TEST_DISCOVERY : ' --enable-test-discovery'
8889 linuxSwift53 :
8990 imageName : ' ubuntu-20.04'
9091 containerImage : ' swift:5.3.3-focal'
92+ SWIFT_TEST_DISCOVERY : ' --enable-test-discovery'
9193 linuxSwift54 :
9294 imageName : ' ubuntu-20.04'
9395 containerImage : ' swift:5.4.3-focal'
@@ -110,13 +112,13 @@ stages:
110112 - script : |
111113 set -e -o xtrace
112114 swift --version
113- swift build
114- swift test --filter BitByteDataTests
115+ swift build $SWIFT_TEST_DISCOVERY
116+ swift test --filter BitByteDataTests $SWIFT_TEST_DISCOVERY
115117 displayName: 'Build & Test'
116118 - script : |
117119 set -e -o xtrace
118120 swift --version
119- swift build -c release # Check Release build just in case.
121+ swift build -c release $SWIFT_TEST_DISCOVERY # Check Release build just in case.
120122 displayName: 'Build Release'
121123 - job : windows
122124 strategy :
You can’t perform that action at this time.
0 commit comments