mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 04:04:56 +00:00
fix(ci): enable unit-tests for all relevant packages
This commit is contained in:
parent
6f2905695b
commit
b4e7a2fe7d
46
.github/workflows/sqlx.yml
vendored
46
.github/workflows/sqlx.yml
vendored
@ -61,12 +61,8 @@ jobs:
|
||||
- run: cargo build --all-features
|
||||
|
||||
test:
|
||||
name: Unit Test
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
runtime: [async-std, tokio]
|
||||
tls: [native-tls, rustls-aws-lc-rs, rustls-ring, none]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -74,10 +70,44 @@ jobs:
|
||||
with:
|
||||
key: ${{ runner.os }}-test
|
||||
|
||||
- run: >
|
||||
- name: Install Rust
|
||||
run: rustup update
|
||||
|
||||
- name: Test sqlx-core
|
||||
run: >
|
||||
cargo test
|
||||
--manifest-path sqlx-core/Cargo.toml
|
||||
--features json,_rt-${{ matrix.runtime }},_tls-${{ matrix.tls }}
|
||||
-p sqlx-core
|
||||
--all-features
|
||||
|
||||
- name: Test sqlx-mysql
|
||||
run: >
|
||||
cargo test
|
||||
-p sqlx-mysql
|
||||
--all-features
|
||||
|
||||
- name: Test sqlx-postgres
|
||||
run: >
|
||||
cargo test
|
||||
-p sqlx-postgres
|
||||
--all-features
|
||||
|
||||
- name: Test sqlx-sqlite
|
||||
run: >
|
||||
cargo test
|
||||
-p sqlx-sqlite
|
||||
--all-features
|
||||
|
||||
- name: Test sqlx-macros-core
|
||||
run: >
|
||||
cargo test
|
||||
-p sqlx-macros-core
|
||||
--all-features
|
||||
|
||||
- name: Test sqlx
|
||||
run: >
|
||||
cargo test
|
||||
-p sqlx
|
||||
--all-features
|
||||
|
||||
sqlite:
|
||||
name: SQLite
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user