codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Time interval between uploading report and adding github checks

Open jiuhuche120 opened this issue 2 years ago • 1 comments

I have an other action, the action is to notify the workflows' status include codecov. The notify action will check the workflow and github checks. Although the codecov's github checks failed, the notification may still succeed because the codecov's github checks are delayed. Is there a suitable way to solve this problem?

jiuhuche120 avatar Jul 24 '23 13:07 jiuhuche120

@jiuhuche120 Are the actions in the same workflow? If so, you can add needs: <job-name> or needs: [<job1>, <job2>] to the job that are supposed to wait on success of other jobs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds

imnasnainaec avatar Nov 08 '23 17:11 imnasnainaec

@jiuhuche120 that is a solution. You could also make the Codecov status a required check. Otherwise, there isn't any other way to do this.

thomasrockhu-codecov avatar Aug 02 '24 16:08 thomasrockhu-codecov