Skip to content

Commit

Permalink
[CI] htmltest config: sort files before processing (#5509)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Nov 1, 2024
1 parent 4487b38 commit 6a190e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/htmltest-config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a190e3

Please sign in to comment.