mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
DEV: Run theme tests in random order (#28841)
that is: randomize the order in which theme test suites are scheduled
This commit is contained in:
parent
38592dc48e
commit
e87d0addf7
|
@ -119,6 +119,7 @@ task "qunit:test", %i[qunit_path filter] do |_, args|
|
|||
ENV["THEME_IDS"]
|
||||
.split("|")
|
||||
.map { |theme_id| "#{qunit_path}?#{query}&testem=1&id=#{theme_id}" }
|
||||
.shuffle
|
||||
.join(",")
|
||||
else
|
||||
"#{qunit_path}?#{query}&testem=1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user