[CI] htmltest config: sort files before processing (#5509)

This commit is contained in:
Patrice Chalin 2024-11-01 11:21:28 -04:00 committed by GitHub
parent 4487b3840a
commit 6a190e3d87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;