Skip to content

Commit 6a190e3

Browse files
authored
[CI] htmltest config: sort files before processing (#5509)
1 parent 4487b38 commit 6a190e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.htmltest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ CheckMailto: false
88
TestFilesConcurrently: true
99
IgnoreDirs:
1010
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
11+
- ^blog/(\d+/)?page/\d+
1112
# TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for ja pages:
1213
- ^ja/docs/concepts/instrumentation/libraries/
1314
# TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for pt pages:
1415
- ^pt/docs/concepts/instrumentation/libraries/
15-
- ^blog/(\d+/)?page/\d+
1616
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
1717
IgnoreInternalURLs: # list of paths
1818
IgnoreURLs: # list of regexs of paths or URLs to be ignored

scripts/htmltest-config.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sub main {
1515
sub collect_htmltest_config_from_front_matter {
1616
my ($ignore_dirs_ref, @files) = @_;
1717

18-
foreach my $file_path (@files) {
18+
foreach my $file_path (sort @files) {
1919
my @htmltest_config = extract_htmltest_config($file_path);
2020
next unless @htmltest_config;
2121
push @$ignore_dirs_ref, @htmltest_config;

0 commit comments

Comments
 (0)