Speed up test suite

This commit is contained in:
Chris Tsang 2021-10-15 16:12:55 +08:00
parent 620972b724
commit 2a34381a8d

View File

@ -59,6 +59,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-sqlite,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-sqlite,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
--no-run --no-run
@ -91,6 +92,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
--no-run --no-run
@ -123,6 +125,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-postgres,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-postgres,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
--no-run --no-run
@ -247,6 +250,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-sqlite,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-sqlite,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
mysql: mysql:
@ -299,6 +303,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
mariadb: mariadb:
@ -351,6 +356,7 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-mysql,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
postgres: postgres:
@ -400,4 +406,5 @@ jobs:
with: with:
command: test command: test
args: > args: >
--test '*'
--features default,sqlx-postgres,runtime-${{ matrix.runtime }}-${{ matrix.tls }} --features default,sqlx-postgres,runtime-${{ matrix.runtime }}-${{ matrix.tls }}