Fix coverage for pyo3-build-config CI ("full" feature)
This commit is contained in:
parent
161d79fae3
commit
bc356f23e0
|
@ -227,7 +227,7 @@ jobs:
|
||||||
run: cargo test --manifest-path=pyo3-macros-backend/Cargo.toml
|
run: cargo test --manifest-path=pyo3-macros-backend/Cargo.toml
|
||||||
|
|
||||||
- name: Test build config
|
- name: Test build config
|
||||||
run: cargo test --manifest-path=pyo3-build-config/Cargo.toml --all-features
|
run: cargo test --manifest-path=pyo3-build-config/Cargo.toml
|
||||||
|
|
||||||
- name: Test python examples and tests
|
- name: Test python examples and tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
14
Cargo.toml
14
Cargo.toml
|
@ -87,7 +87,19 @@ nightly = []
|
||||||
|
|
||||||
# Activates all additional features
|
# Activates all additional features
|
||||||
# This is mostly intended for testing purposes - activating *all* of these isn't particularly useful.
|
# This is mostly intended for testing purposes - activating *all* of these isn't particularly useful.
|
||||||
full = ["macros", "pyproto", "multiple-pymethods", "num-bigint", "num-complex", "hashbrown", "serde", "indexmap", "eyre", "anyhow"]
|
full = [
|
||||||
|
"macros",
|
||||||
|
"pyproto",
|
||||||
|
"multiple-pymethods",
|
||||||
|
"num-bigint",
|
||||||
|
"num-complex",
|
||||||
|
"hashbrown",
|
||||||
|
"serde",
|
||||||
|
"indexmap",
|
||||||
|
"eyre",
|
||||||
|
"anyhow",
|
||||||
|
"pyo3-build-config/export-config"
|
||||||
|
]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bench_call"
|
name = "bench_call"
|
||||||
|
|
|
@ -1948,7 +1948,7 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(feature = "export-config")]
|
#[cfg(feature = "export-config")]
|
||||||
fn test_emit_pyo3_configs_round_trip() {
|
fn test_emit_pyo3_configs_roundtrip() {
|
||||||
let interpreter = make_interpreter_config()
|
let interpreter = make_interpreter_config()
|
||||||
.expect("could not get InterpreterConfig from installed interpreter");
|
.expect("could not get InterpreterConfig from installed interpreter");
|
||||||
interpreter.emit_pyo3_cfgs();
|
interpreter.emit_pyo3_cfgs();
|
||||||
|
|
Loading…
Reference in New Issue