Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Recently, Github added new feature called actions. The purpose is to define yml files to do the same thing as Jenkins but stay inside github. It also make easier the user management.
Describe alternatives you've considered
Jenkins that already is running.
Additional context
Also MacOS runners - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners
I'm don't worry re iOS builds, they work pretty good on all SaaS CIs, those are the Android emulators that worry me, none of the services we tried (Circle, Travis, and Bitrise) run Android emulators with sufficient hardware acceleration, and the results are super slow tests (60 minutes and up). We should first find a solution for Android, they if it works, iOS will surely will.
Thanks for your quick answer @rotemmiz,
Can we do it in parallel to Jenkins?
You mean both Jenkins and GitHub?
Yes, and github won't fail prs
Sure, I'm eager to try it
I like it when you are eager
FWIW, I'd be very interested to see an example of a working Github Action workflow :)
Github Actions working well for my React Native iOS app detox testing. Here is my workflow with recently added caching:
https://gist.github.com/edvinasbartkus/1e3118dd13c44f43988fcd40e8308db3
Github Actions working well for my React Native iOS app detox testing. Here is my workflow with recently added caching:
https://gist.github.com/edvinasbartkus/1e3118dd13c44f43988fcd40e8308db3
Perfect- works like a charm!
@edvinasbartkus have you attempted using Detox + Android at all (in GitHub actions or other CI/CD environment?)
@henrymoulton not myself, but while researching workflow recipies I did see some successful workflows for Android. Here is one that I have bookmarked on the open-source project:
https://github.com/reime005/react-native-spaceviewer/blob/master/.github/workflows/android.yml
@yershalom I think you should come back to do it. 馃檭
@LeoNatan It might happen :-)
Davai
Yesterday I was curious to experiment with Android Detox on Github Workflow. Based on the link that I have shared I have created the workflow that would pass for me. Here is the workflow gist that worked:
https://gist.github.com/edvinasbartkus/4c09d85ac6f2a2f9eec9d9c8deac5e61
cc @henrymoulton
cc: @ghsdh3409
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this reporsitory, read this discussion.
The issue has been closed for inactivity.
Reopening and pinning, this is something we need to do in a higher priority.
Has there been a conversion with admins regarding change of licensing?
Not that I am aware of, but I will try to run Detox e2e with Github Actions on my fork. If it is successful, we can discuss it further.
@rotemmiz I started with JS on react-native-navigation and will flow with this...
https://github.com/wix/react-native-navigation/pull/5902
Most helpful comment
Github Actions working well for my React Native iOS app detox testing. Here is my workflow with recently added caching:
https://gist.github.com/edvinasbartkus/1e3118dd13c44f43988fcd40e8308db3