mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix the order of operations in themes-frontend (#27317)
Previously "themes frontend" CI job would: 1. pull compatible versions of themes that happened to be in the base image 2. clone all official themes (overriding the compatible versions from 1.) 3. run tests
This commit is contained in:
@@ -255,7 +255,7 @@ end
|
||||
# Note that this should only be used in CI where it is safe to mutate the database without rolling back since running
|
||||
# the themes QUnit tests requires the themes to be installed in the database.
|
||||
desc "Runs qunit tests for all official themes"
|
||||
task "themes:qunit_all_official" => ["themes:clone_all_official", :environment] do |task, args|
|
||||
task "themes:qunit_all_official" => :environment do |task, args|
|
||||
theme_ids_with_qunit_tests = []
|
||||
|
||||
ThemeMetadata::OFFICIAL_THEMES.each do |theme_name|
|
||||
|
||||
Reference in New Issue
Block a user