Skip to content

Commit

Permalink
test: Run with fluentd container
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmanjiro13 committed Jan 19, 2023
1 parent 19675b5 commit 567b7c2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
jobs:
test:
runs-on: ubuntu-latest
services:
fluentd:
image: fluent/fluentd
ports:
- 24224:24224
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! ## Example
//!
//! ```no_run
//! ```
//! use tokio_fluent::{Client, Config, FluentClient};
//! use tokio_fluent::record::{Map, Value};
//!
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! ## Example
//!
//! ```no_run
//! ```
//! use std::collections::HashMap;
//!
//! use tokio_fluent::record_map;
Expand Down
2 changes: 1 addition & 1 deletion src/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Map {
///
/// ## Example
///
/// ```rust
/// ```
/// use std::collections::HashMap;
///
/// use tokio_fluent::record_map;
Expand Down

0 comments on commit 567b7c2

Please sign in to comment.