Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise coverage report workflow to generate the report too (#33)
The attempt to upload the code coverage report in a separate workflow has been an exercise in frustration. The initial plan was to generate the report in the test job of the CI workflow, save it as an artefact, then download the artefact in the coverage report workflow and upload it to Code Climate there. Unfortunately, for this to work the coverage report workflow needs to check out the revision of the repo on which the report was generated. Code Climate must associate the coverage report with the revision that generated so that it can calculate the coverage diffs for, and the only way in which the Code Climate action can get this is from the currently checked-out revision. Frankly, if we're going to have to check the revision out, we may as well just generate the report in this workflow too, and not mess around with artefacts. The tests don't take long to run, anyway.
- Loading branch information