We have a case where we wish to run api testing in the test environment before deploying to production. As it takes an amount of time for our application to start, we need some kind of delay between deploying and running said tests.
We can achieve this with either an approval type of job or the sleep job. For more flexibility it would be nice to continue the workflow if either of the two previous are complete
workflow: release: jobs: - build - release-test requires: - build - hold-for-approval type: approval requires: - release-test - run: sleep(600) name: wait-for-application-startup requires: - release-test - run-tests requires: either: - hold-for-approval - wait-for-application-startup
CCI-I-884