DEV: Run core system tests by default in docker test image (#23517)

This commit is contained in:
Daniel Waterworth 2023-09-11 16:04:33 -05:00 committed by GitHub
parent d9a2595e7c
commit 40acb9a111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,17 +224,16 @@ task "docker:test" do
params << "--seed #{ENV["RSPEC_SEED"]}" if ENV["RSPEC_SEED"]
end
@good &&= run_or_fail("bin/ember-cli --build")
if ENV["USE_TURBO"]
@good &&=
run_or_fail("bundle exec ./bin/turbo_rspec --verbose #{params.join(" ")}".strip)
run_or_fail(
"bundle exec ./bin/turbo_rspec --enable-system-tests --verbose #{params.join(" ")}".strip,
)
else
@good &&= run_or_fail("bundle exec rspec #{params.join(" ")}".strip)
end
if ENV["RUN_SYSTEM_TESTS"]
@good &&= run_or_fail("bin/ember-cli --build")
@good &&= run_or_fail("timeout --verbose 1800 bundle exec rspec spec/system")
end
end
unless ENV["SKIP_PLUGINS"]