From 184dd32146e44d8838ee09d6f8a3047818153e92 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Tue, 24 Jan 2023 15:14:41 -0500 Subject: [PATCH] Ignore README tests because they don't work in CI --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b44e16..52ca7e1 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,13 @@ The `"mt"` feature is for tokio multi-threaded. For single threaded, drop the `"mt"` feature and replace `#[tokio::main]` with `#[tokio::main(flavor = "current_thread")]`. -```rust,no_run + + +```rust,ignore // src/main.rs use mastodon_async::prelude::*; @@ -98,7 +104,7 @@ It also supports the [Streaming API](https://docs.joinmastodon.org/api/streaming > [log_events](https://github.com/dscottboggs/mastodon-async/blob/main/examples/log_events.rs) > example for a more thorough example which does compile and run. -```rust,no_run +```rust,ignore use mastodon_async::{prelude::*, Result, entities::event::Event}; use futures_util::TryStreamExt;