CircleCI-Public / android-orb

An orb for working with Android on CircleCI
https://circleci.com/developer/orbs/orb/circleci/android
MIT License
41 stars 27 forks source link

android orb version 1 was able to digest and use matrix job parameters, now fails with The value of `name` must be a string #38

Closed jkzilla closed 1 month ago

jkzilla commented 2 years ago

Orb version

2.0.3

What happened

android orb version 1 was able to digest and use matrix job parameters in the run ui tests step (### Expected behavior)

now fails with:

circleci config validate
Error: Error calling workflow: 'build_test_deploy'
Error calling job: 'android/run-ui-tests'
Unexpected executor invocation format
The value of `name` must be a string
Examples of correct executor invocation:
  executor: string-executor-name
  executor: {name: string-executor-name}
  executor: << parameters.executor-type-parameter >>
KyleTryon commented 2 years ago

Hello @jkzilla

We have a current usage example showcasing how to use the matrix feature here: https://circleci.com/developer/orbs/orb/circleci/android#usage-test-matrix

The example you shared is a little misformatted in the markdown but we believe there may be an issue with this line: name: "Test Android UI: <<matrix.system-image>>"

It may be that the : or the following space are not allowed.

If you are able, please share the CircleCI pipeline where this issue occurred or a reproducible config.

marboledacci commented 1 month ago

There hasn't been any update on this for a long time, I'm closing this.