mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-14 16:30:16 +00:00
gh actions: use runtime feature name matrix for unit tests
This commit is contained in:
committed by
Ryan Leckey
parent
331e7bc564
commit
a9d0a842fb
5
.github/workflows/sqlx.yml
vendored
5
.github/workflows/sqlx.yml
vendored
@@ -68,6 +68,9 @@ jobs:
|
||||
test:
|
||||
name: Unit Test
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -90,7 +93,7 @@ jobs:
|
||||
command: test
|
||||
args: >
|
||||
--manifest-path sqlx-core/Cargo.toml
|
||||
--features offline,all-databases,all-types
|
||||
--features offline,all-databases,all-types,runtime-${{ matrix.runtime }}
|
||||
|
||||
cli:
|
||||
name: CLI Binaries
|
||||
|
||||
Reference in New Issue
Block a user