@@ -138,16 +138,6 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
138138 tag = f"postgres_{ version } " if runtime == "async-std" else f"postgres_{ version } _{ runtime } " ,
139139 )
140140
141- ## +ssl
142- for version in ["14" , "13" , "12" , "11" , "10" , "9_6" ]:
143- run (
144- f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{ runtime } -{ tls } " ,
145- comment = f"test postgres { version } ssl" ,
146- database_url_args = "sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt" ,
147- service = f"postgres_{ version } " ,
148- tag = f"postgres_{ version } _ssl" if runtime == "async-std" else f"postgres_{ version } _ssl_{ runtime } " ,
149- )
150-
151141 ## +client-ssl
152142 for version in ["14_client_ssl" , "13_client_ssl" , "12_client_ssl" , "11_client_ssl" , "10_client_ssl" , "9_6_client_ssl" ]:
153143 run (
@@ -170,6 +160,16 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
170160 tag = f"mysql_{ version } " if runtime == "async-std" else f"mysql_{ version } _{ runtime } " ,
171161 )
172162
163+ ## +client-ssl
164+ for version in ["8_client_ssl" , "5_7_client_ssl" , "5_6_client_ssl" ]:
165+ run (
166+ f"cargo test --no-default-features --features macros,offline,any,all-types,mysql,runtime-{ runtime } -{ tls } " ,
167+ comment = f"test mysql { version } no-password" ,
168+ database_url_args = "sslmode=verify_ca&ssl-ca=.%2Ftests%2Fcerts%2Fca.crt&ssl-key=.%2Ftests%2Fkeys%2Fclient.key&ssl-cert=.%2Ftests%2Fcerts%2Fclient.crt" ,
169+ service = f"mysql_{ version } " ,
170+ tag = f"mysql_{ version } _no_password" if runtime == "async-std" else f"mysql_{ version } _no_password_{ runtime } " ,
171+ )
172+
173173 #
174174 # mariadb
175175 #
@@ -182,6 +182,16 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
182182 tag = f"mariadb_{ version } " if runtime == "async-std" else f"mariadb_{ version } _{ runtime } " ,
183183 )
184184
185+ ## +client-ssl
186+ for version in ["10_6_client_ssl" , "10_5_client_ssl" , "10_4_client_ssl" , "10_3_client_ssl" , "10_2_client_ssl" ]:
187+ run (
188+ f"cargo test --no-default-features --features macros,offline,any,all-types,mysql,runtime-{ runtime } -{ tls } " ,
189+ comment = f"test mariadb { version } no-password" ,
190+ database_url_args = "sslmode=verify_ca&ssl-ca=.%2Ftests%2Fcerts%2Fca.crt&ssl-key=.%2Ftests%2Fkeys%2Fclient.key&ssl-cert=.%2Ftests%2Fcerts%2Fclient.crt" ,
191+ service = f"mariadb_{ version } " ,
192+ tag = f"mariadb_{ version } _no_password" if runtime == "async-std" else f"mariadb_{ version } _no_password_{ runtime } " ,
193+ )
194+
185195 #
186196 # mssql
187197 #
0 commit comments