Skip to content

Commit

Permalink
fix: support coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 13, 2023
1 parent 8de1475 commit f7ff574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cypress-cloud/lib/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export async function uploadArtifacts({
coverageUploadUrl,
});

const totalUploads = (videoPath ? 1 : 0) + screenshots.length;
const totalUploads =
(videoPath ? 1 : 0) + screenshots.length + (coverageFilePath ? 1 : 0);
if (totalUploads === 0) {
// info("Nothing to upload");
return;
Expand Down

0 comments on commit f7ff574

Please sign in to comment.