[CI] htmltest config: sort files before processing (#5509)
This commit is contained in:
parent
4487b3840a
commit
6a190e3d87
|
|
@ -8,11 +8,11 @@ CheckMailto: false
|
|||
TestFilesConcurrently: true
|
||||
IgnoreDirs:
|
||||
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
|
||||
- ^blog/(\d+/)?page/\d+
|
||||
# TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for ja pages:
|
||||
- ^ja/docs/concepts/instrumentation/libraries/
|
||||
# TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for pt pages:
|
||||
- ^pt/docs/concepts/instrumentation/libraries/
|
||||
- ^blog/(\d+/)?page/\d+
|
||||
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
|
||||
IgnoreInternalURLs: # list of paths
|
||||
IgnoreURLs: # list of regexs of paths or URLs to be ignored
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ sub main {
|
|||
sub collect_htmltest_config_from_front_matter {
|
||||
my ($ignore_dirs_ref, @files) = @_;
|
||||
|
||||
foreach my $file_path (@files) {
|
||||
foreach my $file_path (sort @files) {
|
||||
my @htmltest_config = extract_htmltest_config($file_path);
|
||||
next unless @htmltest_config;
|
||||
push @$ignore_dirs_ref, @htmltest_config;
|
||||
|
|
|
|||
Loading…
Reference in New Issue