mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-30 05:11:13 +00:00
chore: add any to all-databases and to each db test in CI
This commit is contained in:
parent
f0e79979dd
commit
518eb0c41a
12
.github/workflows/sqlx.yml
vendored
12
.github/workflows/sqlx.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features sqlite,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,macros,sqlite,all-types,runtime-${{ matrix.runtime }}
|
||||
--
|
||||
--test-threads=1
|
||||
env:
|
||||
@ -134,7 +134,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features postgres,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,postgres,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
|
||||
|
||||
@ -143,7 +143,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features postgres,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,postgres,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx?sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt
|
||||
|
||||
@ -178,7 +178,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features mysql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,mysql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: mysql://root:password@localhost:3306/sqlx
|
||||
|
||||
@ -213,7 +213,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features mysql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,mysql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: mysql://root:password@localhost:3306/sqlx
|
||||
|
||||
@ -248,6 +248,6 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--no-default-features
|
||||
--features mssql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
--features any,mssql,macros,all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: mssql://sa:Password123!@localhost/sqlx
|
||||
|
||||
@ -48,7 +48,7 @@ offline = [ "sqlx-macros/offline", "sqlx-core/offline" ]
|
||||
|
||||
# intended mainly for CI and docs
|
||||
all = [ "tls", "all-databases", "all-types" ]
|
||||
all-databases = [ "mysql", "sqlite", "postgres", "mssql" ]
|
||||
all-databases = [ "mysql", "sqlite", "postgres", "mssql", "any" ]
|
||||
all-types = [ "bigdecimal", "json", "time", "chrono", "ipnetwork", "uuid" ]
|
||||
|
||||
# runtime
|
||||
|
||||
@ -16,7 +16,7 @@ authors = [
|
||||
default = [ "runtime-async-std" ]
|
||||
|
||||
# databases
|
||||
all-databases = [ "postgres", "mysql", "sqlite", "mssql" ]
|
||||
all-databases = [ "postgres", "mysql", "sqlite", "mssql", "any" ]
|
||||
postgres = [ "md-5", "sha2", "base64", "sha-1", "rand", "hmac", "futures-channel/sink", "futures-util/sink" ]
|
||||
mysql = [ "sha-1", "sha2", "generic-array", "num-bigint", "base64", "digest", "rand", "rsa" ]
|
||||
sqlite = [ "libsqlite3-sys" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user