mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 18:40:24 +00:00
refactor(sqlite): Resolve duplicate test target warning for macros.rs (#3988)
* refactor(sqlite): Resolve duplicate test target warning for macros.rs Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> * refactor(sqlite): For macros tests, use _sqlite pseudo feature instead of #![cfg(...)] in the module Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> --------- Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/sqlx.yml
vendored
4
.github/workflows/sqlx.yml
vendored
@@ -181,7 +181,7 @@ jobs:
|
||||
- run: >
|
||||
cargo build
|
||||
--no-default-features
|
||||
--test ${{ matrix.linking }}-macros
|
||||
--test sqlite-macros
|
||||
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
SQLX_OFFLINE: true
|
||||
@@ -193,7 +193,7 @@ jobs:
|
||||
- run: >
|
||||
cargo test
|
||||
--no-default-features
|
||||
--test ${{ matrix.linking }}-macros
|
||||
--test sqlite-macros
|
||||
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
|
||||
env:
|
||||
DATABASE_URL: sqlite://tests/sqlite/sqlite.db
|
||||
|
||||
Reference in New Issue
Block a user