Wait for Railway to deploy to run gh action
anamhira47
PROOP

2 years ago

I am currently using the railway app on github to deploy my staging environment, when I create a pull request. I need to run some e2e tests once the deploy is done. How can I set up my github so my tests wait for the railway deploy to finish before starting the tests.I think its possible by creating a gh action and using railway up --ci. But wondering if that same functionality is possible with the native railway github integration

Solved

4 Replies

2 years ago

Would you be looking for the "Enable check suites" setting in the service settings?


anamhira47
PROOP

2 years ago

Kind of like the reverse of check suites I think, finish deploying -> run different github actions


2 years ago

Then you will likely want the --ci flag.


2 years ago

^^Yup. You'll want to use the --ci flag, which will wait for healthchecks and other things, and then you can test against that deploy


Status changed to Solved Railway over 1 year ago


Loading...