Skip to content

Commit e75e036

Browse files
authored
fix: ensure doctests are run in GitHub Actions (#2412)
Signed-off-by: R. Tyler Croy <rtyler@brokenco.de> Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
1 parent f968889 commit e75e036

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
pushd kernel
9999
echo "Testing with $(cargo msrv show --output-format minimal)"
100100
cargo +$(cargo msrv show --output-format minimal) nextest run --locked
101+
cargo +$(cargo msrv show --output-format minimal) test --doc
101102
docs:
102103
runs-on: ubuntu-latest
103104
env:

kernel/src/engine_data.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@ pub trait RowVisitor {
505505
/// fn apply_selection_vector(self: Box<Self>, selection_vector: Vec<bool>) -> DeltaResult<Box<dyn EngineData>> {
506506
/// todo!() // filter out unselected rows and return the new set of data
507507
/// }
508+
/// fn has_field(&self, name: &ColumnName) -> bool {
509+
/// todo!() // determine whether the field exists in the data
510+
/// }
508511
/// }
509512
/// ```
510513
pub trait EngineData: AsAny {

0 commit comments

Comments
 (0)