Module: CiInACan::Runner

Defined in:
lib/ci_in_a_can/runner.rb

Class Method Summary collapse

Class Method Details

.run(build) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/ci_in_a_can/runner.rb', line 5

def self.run build
  report_pending_status_for build
  clone_a_local_copy_of build
  test_results = run_the_tests_for build
  CiInACan::Cleaner.remove_local_copy_of build
  send_notifications_for build, test_results
end