mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-29 19:24:27 +01:00
another tweak to how we handle the ci vs local testing.
This commit is contained in:
@@ -34,6 +34,7 @@ configure_toolchain(DEFAULT_CONFIG_FILE)
|
|||||||
namespace :test do
|
namespace :test do
|
||||||
desc "Build and test Unity"
|
desc "Build and test Unity"
|
||||||
task :all => [:clean, :prepare_for_tests, 'test:scripts', 'test:unit', :style, 'test:fixture', 'test:memory', 'test:summary']
|
task :all => [:clean, :prepare_for_tests, 'test:scripts', 'test:unit', :style, 'test:fixture', 'test:memory', 'test:summary']
|
||||||
|
task :ci => [:clean, :prepare_for_tests, 'test:scripts', 'test:unit', :style, 'test:make', 'test:fixture', 'test:memory', 'test:summary']
|
||||||
|
|
||||||
desc "Test unity with its own unit tests"
|
desc "Test unity with its own unit tests"
|
||||||
task :unit => [:prepare_for_tests] do
|
task :unit => [:prepare_for_tests] do
|
||||||
@@ -81,9 +82,9 @@ namespace :test do
|
|||||||
end
|
end
|
||||||
|
|
||||||
###################### Shorthand for many common tasks
|
###################### Shorthand for many common tasks
|
||||||
|
task :ci => ['test:ci']
|
||||||
task :all => ['test:all']
|
task :all => ['test:all']
|
||||||
task :default => [:clobber, :all]
|
task :default => [:clobber, :all]
|
||||||
task :ci => [:no_color, 'test:make', :default]
|
|
||||||
|
|
||||||
desc "Load configuration"
|
desc "Load configuration"
|
||||||
task :config, :config_file do |t, args|
|
task :config, :config_file do |t, args|
|
||||||
|
|||||||
Reference in New Issue
Block a user