Codecov is not super stable right now. When the coverage upload fails, we need to re-run the whole test suite (long). This PR splits the workflow in twain, so only the second job fails when codecov push fails. Then, to retry the upload, re-run the workflow, specifying to run ONLY the failed jobs. Voilà ?
Type of change
Check the relevant options.
[x] New feature (non-breaking change which adds functionality)
Checklist
[x] My code follows the style guidelines of this project (run autopep8)
[x] I added relevant citations to scripts, modules and functions docstrings and descriptions
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I moved all functions from the script file (except the argparser and main) to scilpy modules
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Quick description
Codecov is not super stable right now. When the coverage upload fails, we need to re-run the whole test suite (long). This PR splits the workflow in twain, so only the second job fails when codecov push fails. Then, to retry the upload, re-run the workflow, specifying to run ONLY the failed jobs. Voilà ?
Type of change
Check the relevant options.
Checklist