Skip to content

Commit

Permalink
add tests of --no-default-features to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed May 18, 2021
1 parent f7cad32 commit a741a99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
cd arrow
# re-run tests on arrow workspace with additional features
cargo test --features=prettyprint
# run test on arrow with minimal set of features
cargo test --no-default-features
cargo run --example builders
cargo run --example dynamic_types
cargo run --example read_csv
Expand Down
3 changes: 3 additions & 0 deletions arrow/src/util/string_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
//! Example:
//!
//! ```
//! #[cfg(feature = "csv")]
//! {
//! use arrow::array::*;
//! use arrow::csv;
//! use arrow::datatypes::*;
Expand Down Expand Up @@ -58,6 +60,7 @@
//! let sw = StringWriter::new();
//! let mut writer = csv::Writer::new(sw);
//! writer.write(&batch).unwrap();
//! }
//! ```
use std::io::{Error, ErrorKind, Result, Write};
Expand Down

0 comments on commit a741a99

Please sign in to comment.