karma-runner / karma-sauce-launcher

A Karma plugin. Launch any browser on SauceLabs!
MIT License
199 stars 103 forks source link

Use with Github Actions gives unexpected behavior #215

Closed xavierfoucrier closed 3 years ago

xavierfoucrier commented 4 years ago

Hi karma team!

We are actually moving our CI workflow from Travis to Github Actions on an open source project. Since we have switched to Github Actions, see https://github.com/mojs/mojs/commit/ec04b4c82f3c34adb1f4b7e9cc4b3d3d85f4ef82, the karma-sauce-launcher are unable to establish a connection and we got an exception in the workflow:

[SaucelabsLauncher]: { Error: connect ECONNREFUSED 127.0.0.1:43895 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:832:14)

When running it with Travis everything work as expected and tests passes well on SauceLabs, see https://travis-ci.org/github/mojs/mojs/builds/710657747#L288.

You can compare our karma configurations if needed:

May be we are missing something to make it work with Github Actions... Thanks for your feedback :wink:

xavierfoucrier commented 4 years ago

@vojtajina @zzo @dignifiedquire @rcebulko any update/help about this issue?

Thanks a lot :wink:

rcebulko commented 4 years ago

Hi @xavierfoucrier . Unfortunately I'm no longer active on this repo, as the project I primary work on has shifted to a different toolchain. Hopefully one of the others listed above can be of more assistance.

johnjbarton commented 4 years ago

Sorry I don't know anything about Github actions. Is there some config we need to change on the karma-sauce-launcher github project admin?

xavierfoucrier commented 4 years ago

@rcebulko no problem, thanks for the feedback. @johnjbarton really, I don't know. It's probably related to configuration, because it works well on Travis. If anyone have no idea from where it comes, I will just close the issue and try another browser testing platform like browserstack... it's under consideration.

xavierfoucrier commented 3 years ago

We have moved to Browserstack instead. Closing the issue :wink: