Add asana log message action #73
61 tests run, 56 passed, 0 skipped, 5 failed.
Annotations
Check failure on line 15 in spec/asana_add_comment_spec.rb
github-actions / Test Report
./spec/asana_add_comment_spec.rb.Fastlane::Actions::AsanaAddCommentAction#run does not call task id extraction if task id provided
key not found: "WORKFLOW_URL"
Raw output
Failure/Error: if comment && ENV.fetch('WORKFLOW_URL').to_s.empty?
KeyError:
key not found: "WORKFLOW_URL"
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `fetch'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `validate_params'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:18:in `run'
./spec/asana_add_comment_spec.rb:99:in `test_action'
./spec/asana_add_comment_spec.rb:15:in `block (3 levels) in <top (required)>'
Check failure on line 22 in spec/asana_add_comment_spec.rb
github-actions / Test Report
./spec/asana_add_comment_spec.rb.Fastlane::Actions::AsanaAddCommentAction#run extracts task id if task id not provided
key not found: "WORKFLOW_URL"
Raw output
Failure/Error: if comment && ENV.fetch('WORKFLOW_URL').to_s.empty?
KeyError:
key not found: "WORKFLOW_URL"
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `fetch'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `validate_params'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:18:in `run'
./spec/asana_add_comment_spec.rb:99:in `test_action'
./spec/asana_add_comment_spec.rb:22:in `block (3 levels) in <top (required)>'
Check failure on line 51 in spec/asana_add_comment_spec.rb
github-actions / Test Report
./spec/asana_add_comment_spec.rb.Fastlane::Actions::AsanaAddCommentAction#run shows error if provided template does not exist
#<FastlaneCore::UI (class)> received :user_error! with unexpected arguments
expected: ("Error: The file 'non-existing.html' does not exist.")
got: ("Error: The file '/home/runner/work/fastlane-plugin-ddg_apple_automation/fastlane-plugin-ddg_apple_au...e/plugin/ddg_apple_automation/assets/asana_add_comment/templates/non-existing.html' does not exist.")
Raw output
Failure/Error: UI.user_error!("Error: The file '#{template_file}' does not exist.")
#<FastlaneCore::UI (class)> received :user_error! with unexpected arguments
expected: ("Error: The file 'non-existing.html' does not exist.")
got: ("Error: The file '/home/runner/work/fastlane-plugin-ddg_apple_automation/fastlane-plugin-ddg_apple_au...e/plugin/ddg_apple_automation/assets/asana_add_comment/templates/non-existing.html' does not exist.")
./lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb:29:in `rescue in load_template_file'
./lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb:26:in `load_template_file'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:31:in `run'
./spec/asana_add_comment_spec.rb:99:in `test_action'
./spec/asana_add_comment_spec.rb:51:in `block (3 levels) in <top (required)>'
------------------
--- Caused by: ---
Errno::ENOENT:
No such file or directory
./lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb:27:in `load_template_file'
Check failure on line 84 in spec/asana_add_comment_spec.rb
github-actions / Test Report
./spec/asana_add_comment_spec.rb.Fastlane::Actions::AsanaAddCommentAction#run correctly builds text payload
key not found: "WORKFLOW_URL"
Raw output
Failure/Error: if comment && ENV.fetch('WORKFLOW_URL').to_s.empty?
KeyError:
key not found: "WORKFLOW_URL"
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `fetch'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `validate_params'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:18:in `run'
./spec/asana_add_comment_spec.rb:99:in `test_action'
./spec/asana_add_comment_spec.rb:84:in `block (3 levels) in <top (required)>'
Check failure on line 94 in spec/asana_add_comment_spec.rb
github-actions / Test Report
./spec/asana_add_comment_spec.rb.Fastlane::Actions::AsanaAddCommentAction#run fails when client raises error
key not found: "WORKFLOW_URL"
Raw output
Failure/Error: if comment && ENV.fetch('WORKFLOW_URL').to_s.empty?
KeyError:
key not found: "WORKFLOW_URL"
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `fetch'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:92:in `validate_params'
./lib/fastlane/plugin/ddg_apple_automation/actions/asana_add_comment_action.rb:18:in `run'
./spec/asana_add_comment_spec.rb:99:in `test_action'
./spec/asana_add_comment_spec.rb:94:in `block (3 levels) in <top (required)>'