diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62a5f037..dabf4847 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: run: cargo test --all-features msrv: - name: "Tests / MSRV" + name: "Build / MSRV" runs-on: ubuntu-latest steps: - name: Checkout sources @@ -88,7 +88,7 @@ jobs: run: rustup update 1.57.0 - name: Version features - run: cargo +1.57.0 test --features "$VERSION_FEATURES" + run: cargo +1.57.0 build --manifest-path tests/smoke-test/Cargo.toml wasm_bindgen: name: Tests / WebAssembly (wasm-bindgen) diff --git a/Cargo.toml b/Cargo.toml index 1547a88c..54e0526e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -180,5 +180,6 @@ features = ["Win32_System_Com"] [workspace] members = [ - "macros" + "macros", + "tests/smoke-test", ] diff --git a/tests/smoke-test/.gitignore b/tests/smoke-test/.gitignore new file mode 100644 index 00000000..03314f77 --- /dev/null +++ b/tests/smoke-test/.gitignore @@ -0,0 +1 @@ +Cargo.lock diff --git a/tests/smoke-test/Cargo.toml b/tests/smoke-test/Cargo.toml new file mode 100644 index 00000000..3f3c5ed9 --- /dev/null +++ b/tests/smoke-test/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "uuid-smoke-test" +version = "0.0.0" +publish = false +edition = "2018" + +[dependencies.uuid] +path = "../../" +features = ["v1", "v3", "v4", "v5"] diff --git a/tests/smoke-test/src/main.rs b/tests/smoke-test/src/main.rs new file mode 100644 index 00000000..45590d86 --- /dev/null +++ b/tests/smoke-test/src/main.rs @@ -0,0 +1 @@ +fn main() { }