diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b4b5e1..65084e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,7 @@ before_script: - cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../ - cargo build - cargo test --verbose -- --test-threads=1 + - cargo test --verbose -- --test-threads=1 --ignored variables: # RUSTFLAGS: "-C link-dead-code" diff --git a/hammond-downloader/src/downloader.rs b/hammond-downloader/src/downloader.rs index 9338637..2403cc9 100644 --- a/hammond-downloader/src/downloader.rs +++ b/hammond-downloader/src/downloader.rs @@ -202,6 +202,9 @@ mod tests { } #[test] + // This test inserts an rss feed to your `XDG_DATA/hammond/hammond.db` so we make it explicit + // to run it. + #[ignore] fn test_cache_image() { let url = "http://www.newrustacean.com/feed.xml"; diff --git a/hammond-gtk/src/utils.rs b/hammond-gtk/src/utils.rs index c03c835..b99252d 100644 --- a/hammond-gtk/src/utils.rs +++ b/hammond-gtk/src/utils.rs @@ -101,6 +101,9 @@ mod tests { use super::*; #[test] + // This test inserts an rss feed to your `XDG_DATA/hammond/hammond.db` so we make it explicit + // to run it. + #[ignore] fn test_get_pixbuf_from_path() { let url = "http://www.newrustacean.com/feed.xml";