diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 262053e6..53a9ec0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,7 @@ jobs: - linux / stable - linux / beta - macOS / stable + - windows / stable include: - name: linux / stable @@ -73,6 +74,9 @@ jobs: - name: macOS / stable os: macOS-latest + - name: windows / stable + os: windows-latest + steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/src/database/mod.rs b/src/database/mod.rs index d5700cb1..55f955a2 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -1312,7 +1312,8 @@ fn user_version() { } #[test] -#[cfg(feature = "encryption")] +// TODO: This test fails on windows with a rather alarming "Invalid access to memory location." +#[cfg(all(feature = "encryption", not(windows)))] fn sqlcipher_cipher_settings_update() { let mut path = PathBuf::from(file!()); path.pop(); diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 615520c6..74505af1 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -352,6 +352,7 @@ fn search_with_specific_key() { } #[test] +#[cfg(not(windows))] // Fails with "The process cannot access the file because it is being used by another process." fn delete() { let tmpdir = tempdir().unwrap(); let path: &Path = tmpdir.path();