From cdb0712f81986fd10cd4c68c7a4040483a42f1a6 Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 1 Apr 2024 10:59:06 +0200 Subject: [PATCH 1/2] Try to improve test coverage by using --all --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7041575..2753df5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -208,10 +208,10 @@ jobs: tool: grcov - name: Run tests for coverage run: | - cargo test --verbose - cargo test --features="bundled-full" --verbose - cargo test --features="bundled-full session buildtime_bindgen preupdate_hook" --verbose - cargo test --features="bundled-sqlcipher-vendored-openssl" --verbose + cargo test --all --verbose + cargo test --features="bundled-full" --all --verbose + cargo test --features="bundled-full session buildtime_bindgen preupdate_hook" --all --verbose + cargo test --features="bundled-sqlcipher-vendored-openssl" --all --verbose env: RUSTFLAGS: -Cinstrument-coverage RUSTDOCFLAGS: -Cinstrument-coverage From 09adb9382cb6d7bd969efafc6abb1f0399d1517c Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 1 Apr 2024 11:12:36 +0200 Subject: [PATCH 2/2] Try to coverage load_extension --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2753df5..867b57b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -208,10 +208,10 @@ jobs: tool: grcov - name: Run tests for coverage run: | - cargo test --all --verbose - cargo test --features="bundled-full" --all --verbose - cargo test --features="bundled-full session buildtime_bindgen preupdate_hook" --all --verbose - cargo test --features="bundled-sqlcipher-vendored-openssl" --all --verbose + cargo test --verbose + cargo test --features="bundled-full" --verbose + cargo test --features="bundled-full session buildtime_bindgen preupdate_hook load_extension" --all --all-targets --verbose + cargo test --features="bundled-sqlcipher-vendored-openssl" --verbose env: RUSTFLAGS: -Cinstrument-coverage RUSTDOCFLAGS: -Cinstrument-coverage