Skip to content

Commit

Permalink
Ignore README tests because they don't work in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dscottboggs committed Jan 24, 2023
1 parent 45338d5 commit 184dd32
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<!--
todo swap ignore with no_run just below here & the next example
test passes locally but not in CI
-->

```rust,ignore
// src/main.rs
use mastodon_async::prelude::*;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 184dd32

Please # to comment.