circleci-orb icon indicating copy to clipboard operation
circleci-orb copied to clipboard

Need ability to have start parameter take more than one command

Open desi opened this issue 4 years ago • 6 comments

Our project has a frontend server and backend server (api). We use a mock api for the backend in cypress tests. We need to be able to run the mock server (to mimic backend api) and a front end server in Circle CI.

Below is what I have tried but it isn't working so I am trying to figure out what I need to do to start that second server specifically on circleci

- cypress/run:
     executor: cypress/base-12-14-0
     yarn: true
     start: yarn start && yarn start-mockapi

I asked about this in the gitter chat and was directed to open a ticket as the start parameter likely doesn't handle passing both commands.

desi avatar Apr 21 '20 21:04 desi

Hi @bahmutov just wondering if this is something you think might be addressed soon?

desi avatar Jun 17 '20 15:06 desi

Hi @bahmutov just wondering if this is something you think might be addressed soon?

desi avatar Jun 17 '20 15:06 desi

Hi @bahmutov just wondering if this is something you think might be addressed soon?

desi avatar Jun 17 '20 15:06 desi

@jennifer-shehane Can you tell me a status on this?

desi avatar Jul 06 '20 20:07 desi

I don't have plans to implement this any time soon. I suggest using https://github.com/bahmutov/start-server-and-test maybe to start multiple services, wait for them to respond, then run tests.

bahmutov avatar Jul 06 '20 20:07 bahmutov

Great. Thank you for the suggestion of a work around. Much appreciated!

desi avatar Jul 06 '20 20:07 desi

This is a duplicate of this issue https://github.com/cypress-io/circleci-orb/issues/313. Going to close

jordanpowell88 avatar Dec 21 '22 21:12 jordanpowell88