Skip to content

remove is_ci

remove is_ci #336

GitHub Actions / Test Report failed Nov 23, 2024 in 0s

296 tests run, 290 passed, 0 skipped, 6 failed.

Annotations

Check failure on line 182 in spec/ddg_apple_automation_helper_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/ddg_apple_automation_helper_spec.rb.FastlaneCore::Helper::DdgAppleAutomationHelper.create_hotfix_branch .create_hotfix_branch creates a new hotfix branch in CI mode

Fastlane::Actions received :sh with unexpected arguments
  expected: ("bundle", "install")
       got: ("git", "fetch", "--tags")
 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: Actions.sh("git", "fetch", "--tags")

  Fastlane::Actions received :sh with unexpected arguments
    expected: ("bundle", "install")
         got: ("git", "fetch", "--tags")
   Please stub a default value first if message might be received with other args as well. 
./lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb:153:in `create_hotfix_branch'
./spec/ddg_apple_automation_helper_spec.rb:182:in `block (4 levels) in <top (required)>'

Check failure on line 67 in spec/start_new_release_action_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/start_new_release_action_spec.rb.Fastlane::Actions::StartNewReleaseAction#run on ios creates a release task in Asana

(FastlaneCore::Helper::AsanaHelper (class)).create_release_task("ios", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
    expected: 1 time with arguments: ("ios", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
    received: 0 times
Raw output
Failure/Error: expect(Fastlane::Helper::AsanaHelper).to have_received(:create_release_task).with("ios", "1.1.0", "user", "secret-token", { is_hotfix: false })

  (FastlaneCore::Helper::AsanaHelper (class)).create_release_task("ios", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
      expected: 1 time with arguments: ("ios", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
      received: 0 times
./spec/start_new_release_action_spec.rb:67:in `block (4 levels) in <top (required)>'

Check failure on line 72 in spec/start_new_release_action_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/start_new_release_action_spec.rb.Fastlane::Actions::StartNewReleaseAction#run on ios updates Asana tasks for internal release

(FastlaneCore::Helper::AsanaHelper (class)).update_asana_tasks_for_internal_release(hash_including(:platform=>"ios", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
    expected: 1 time with arguments: (hash_including(:platform=>"ios", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
    received: 0 times
Raw output
Failure/Error:
  expect(Fastlane::Helper::AsanaHelper).to have_received(:update_asana_tasks_for_internal_release).with(
    hash_including(
      platform: "ios",
      version: "1.1.0",
      release_branch_name: "release_branch_name",
      release_task_id: "1234567890",
      asana_access_token: "secret-token"
    )
  )

  (FastlaneCore::Helper::AsanaHelper (class)).update_asana_tasks_for_internal_release(hash_including(:platform=>"ios", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
      expected: 1 time with arguments: (hash_including(:platform=>"ios", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
      received: 0 times
./spec/start_new_release_action_spec.rb:72:in `block (4 levels) in <top (required)>'

Check failure on line 104 in spec/start_new_release_action_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/start_new_release_action_spec.rb.Fastlane::Actions::StartNewReleaseAction#run on macos creates a release task in Asana

(FastlaneCore::Helper::AsanaHelper (class)).create_release_task("macos", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
    expected: 1 time with arguments: ("macos", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
    received: 0 times
Raw output
Failure/Error: expect(Fastlane::Helper::AsanaHelper).to have_received(:create_release_task).with("macos", "1.1.0", "user", "secret-token", { is_hotfix: false })

  (FastlaneCore::Helper::AsanaHelper (class)).create_release_task("macos", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
      expected: 1 time with arguments: ("macos", "1.1.0", "user", "secret-token", {:is_hotfix=>false})
      received: 0 times
./spec/start_new_release_action_spec.rb:104:in `block (4 levels) in <top (required)>'

Check failure on line 109 in spec/start_new_release_action_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/start_new_release_action_spec.rb.Fastlane::Actions::StartNewReleaseAction#run on macos updates Asana tasks for internal release

(FastlaneCore::Helper::AsanaHelper (class)).update_asana_tasks_for_internal_release(hash_including(:platform=>"macos", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
    expected: 1 time with arguments: (hash_including(:platform=>"macos", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
    received: 0 times
Raw output
Failure/Error:
  expect(Fastlane::Helper::AsanaHelper).to have_received(:update_asana_tasks_for_internal_release).with(
    hash_including(
      platform: "macos",
      version: "1.1.0",
      release_branch_name: "release_branch_name",
      release_task_id: "1234567890",
      asana_access_token: "secret-token"
    )
  )

  (FastlaneCore::Helper::AsanaHelper (class)).update_asana_tasks_for_internal_release(hash_including(:platform=>"macos", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
      expected: 1 time with arguments: (hash_including(:platform=>"macos", :version=>"1.1.0", :release_branch_name=>"release_branch_name", :release_task_id=>"1234567890", :asana_access_token=>"secret-token"))
      received: 0 times
./spec/start_new_release_action_spec.rb:109:in `block (4 levels) in <top (required)>'

Check failure on line 149 in spec/start_new_release_action_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Report

./spec/start_new_release_action_spec.rb.Fastlane::Actions::StartNewReleaseAction#run on macos with hotfix release creates a hotfix release task in Asana

(FastlaneCore::Helper::AsanaHelper (class)).create_release_task("macos", "1.0.1", "user", "secret-token", {:is_hotfix=>true})
    expected: 1 time with arguments: ("macos", "1.0.1", "user", "secret-token", {:is_hotfix=>true})
    received: 0 times
Raw output
Failure/Error:
  expect(Fastlane::Helper::AsanaHelper).to have_received(:create_release_task)
    .with("macos", "1.0.1", "user", "secret-token", { is_hotfix: true })

  (FastlaneCore::Helper::AsanaHelper (class)).create_release_task("macos", "1.0.1", "user", "secret-token", {:is_hotfix=>true})
      expected: 1 time with arguments: ("macos", "1.0.1", "user", "secret-token", {:is_hotfix=>true})
      received: 0 times
./spec/start_new_release_action_spec.rb:149:in `block (5 levels) in <top (required)>'