From 2340ae7a8e353213caba8bf7a8c88183815e72db Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 14 Aug 2024 19:28:25 -0700 Subject: [PATCH 1/2] Correct branch name in Codecov badge URL Previously, the master branch was specified in the URL for the Codecov badge. The repository uses a branch named `main` instead of `master`, so this caused the badge to show "unknown" instead of the code coverage percent as intended. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd63225..8c3acb2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Spell Check status](https://github.com/arduino/report-size-deltas/actions/workflows/spell-check-task.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/spell-check-task.yml) [![Sync Labels status](https://github.com/arduino/report-size-deltas/actions/workflows/sync-labels-npm.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/sync-labels-npm.yml) [![Test Python status](https://github.com/arduino/report-size-deltas/actions/workflows/test-python-poetry-task.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/test-python-poetry-task.yml) -[![codecov](https://codecov.io/gh/arduino/report-size-deltas/branch/master/graph/badge.svg)](https://codecov.io/gh/arduino/report-size-deltas) +[![codecov](https://codecov.io/gh/arduino/report-size-deltas/branch/main/graph/badge.svg)](https://codecov.io/gh/arduino/report-size-deltas) This action comments on the pull request with a report on the resulting change in memory usage of the [Arduino](https://www.arduino.cc/) sketches compiled by the [`arduino/compile-sketches`](https://github.com/arduino/compile-sketches) action. This should be run from a [scheduled workflow](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule). From 01b9fdde2aae92b590b6195195ba2ec49846fe7d Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 14 Aug 2024 19:30:53 -0700 Subject: [PATCH 2/2] Use standard URL for Codecov badge This is the URL that is currently provided by the Codecov website. Even though the previous URL worked fine, I think using the one provided by Codecov will be more future proof. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c3acb2..1e48861 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Spell Check status](https://github.com/arduino/report-size-deltas/actions/workflows/spell-check-task.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/spell-check-task.yml) [![Sync Labels status](https://github.com/arduino/report-size-deltas/actions/workflows/sync-labels-npm.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/sync-labels-npm.yml) [![Test Python status](https://github.com/arduino/report-size-deltas/actions/workflows/test-python-poetry-task.yml/badge.svg)](https://github.com/arduino/report-size-deltas/actions/workflows/test-python-poetry-task.yml) -[![codecov](https://codecov.io/gh/arduino/report-size-deltas/branch/main/graph/badge.svg)](https://codecov.io/gh/arduino/report-size-deltas) +[![codecov](https://codecov.io/gh/arduino/report-size-deltas/graph/badge.svg?token=RLXQ2ZNBlb)](https://codecov.io/gh/arduino/report-size-deltas) This action comments on the pull request with a report on the resulting change in memory usage of the [Arduino](https://www.arduino.cc/) sketches compiled by the [`arduino/compile-sketches`](https://github.com/arduino/compile-sketches) action. This should be run from a [scheduled workflow](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule).