Skip to content

Commit 4f4b0b5

Browse files
authored
chore: Unbreak doctest CI (#20218)
File was renamed and split into smaller files as part of #20183. ## Rationale for this change CI is failing with: ``` Doc-tests datafusion error: couldn't read `datafusion/core/src/../../../docs/source/library-user-guide/upgrading.md`: No such file or directory (os error 2) --> datafusion/core/src/lib.rs:1182:1 | 1182 | / doc_comment::doctest!( 1183 | | "../../../docs/source/library-user-guide/upgrading.md", 1184 | | library_user_guide_upgrading 1185 | | ); | |_^ | = note: this error originates in the macro `include_str` which comes from the expansion of the macro `doc_comment::doctest` (in Nightly builds, run with -Z macro-backtrace for more info) ``` <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> ## What changes are included in this PR? <!-- There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. -->
1 parent c9e7137 commit 4f4b0b5

1 file changed

Lines changed: 50 additions & 2 deletions

File tree

datafusion/core/src/lib.rs

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,56 @@ doc_comment::doctest!(
11801180

11811181
#[cfg(doctest)]
11821182
doc_comment::doctest!(
1183-
"../../../docs/source/library-user-guide/upgrading.md",
1184-
library_user_guide_upgrading
1183+
"../../../docs/source/library-user-guide/upgrading/46.0.0.md",
1184+
library_user_guide_upgrading_46_0_0
1185+
);
1186+
1187+
#[cfg(doctest)]
1188+
doc_comment::doctest!(
1189+
"../../../docs/source/library-user-guide/upgrading/47.0.0.md",
1190+
library_user_guide_upgrading_47_0_0
1191+
);
1192+
1193+
#[cfg(doctest)]
1194+
doc_comment::doctest!(
1195+
"../../../docs/source/library-user-guide/upgrading/48.0.0.md",
1196+
library_user_guide_upgrading_48_0_0
1197+
);
1198+
1199+
#[cfg(doctest)]
1200+
doc_comment::doctest!(
1201+
"../../../docs/source/library-user-guide/upgrading/48.0.1.md",
1202+
library_user_guide_upgrading_48_0_1
1203+
);
1204+
1205+
#[cfg(doctest)]
1206+
doc_comment::doctest!(
1207+
"../../../docs/source/library-user-guide/upgrading/49.0.0.md",
1208+
library_user_guide_upgrading_49_0_0
1209+
);
1210+
1211+
#[cfg(doctest)]
1212+
doc_comment::doctest!(
1213+
"../../../docs/source/library-user-guide/upgrading/50.0.0.md",
1214+
library_user_guide_upgrading_50_0_0
1215+
);
1216+
1217+
#[cfg(doctest)]
1218+
doc_comment::doctest!(
1219+
"../../../docs/source/library-user-guide/upgrading/51.0.0.md",
1220+
library_user_guide_upgrading_51_0_0
1221+
);
1222+
1223+
#[cfg(doctest)]
1224+
doc_comment::doctest!(
1225+
"../../../docs/source/library-user-guide/upgrading/52.0.0.md",
1226+
library_user_guide_upgrading_52_0_0
1227+
);
1228+
1229+
#[cfg(doctest)]
1230+
doc_comment::doctest!(
1231+
"../../../docs/source/library-user-guide/upgrading/53.0.0.md",
1232+
library_user_guide_upgrading_53_0_0
11851233
);
11861234

11871235
#[cfg(doctest)]

0 commit comments

Comments
 (0)