From a6be38b93cf2aa634bed85eab8431ae2d67bec16 Mon Sep 17 00:00:00 2001 From: takanuva15 <6986426+takanuva15@users.noreply.github.com> Date: Sat, 26 Jul 2025 04:08:43 -0400 Subject: [PATCH] Fix missing codecov configuration (#487) --- .github/template-cleanup/README.md | 1 + .github/workflows/build.yml | 1 + CHANGELOG.md | 1 + codecov.yml | 10 ++++++++++ 4 files changed, 13 insertions(+) create mode 100644 codecov.yml diff --git a/.github/template-cleanup/README.md b/.github/template-cleanup/README.md index f9754ea..3ae44a6 100644 --- a/.github/template-cleanup/README.md +++ b/.github/template-cleanup/README.md @@ -15,6 +15,7 @@ - [ ] Set the [Plugin Signing](https://plugins.jetbrains.com/docs/intellij/plugin-signing.html?from=IJPluginTemplate) related [secrets](https://github.com/JetBrains/intellij-platform-plugin-template#environment-variables). - [ ] Set the [Deployment Token](https://plugins.jetbrains.com/docs/marketplace/plugin-upload.html?from=IJPluginTemplate). - [ ] Click the Watch button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes. +- [ ] Configure the [CODECOV_TOKEN](https://docs.codecov.com/docs/quick-start) secret for automated test coverage reports on PRs This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 015762e..bc09de6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -141,6 +141,7 @@ jobs: uses: codecov/codecov-action@v5 with: files: ${{ github.workspace }}/build/reports/kover/report.xml + token: ${{ secrets.CODECOV_TOKEN }} # Run Qodana inspections and provide a report inspectCode: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4233dba..0bb8ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ - Dependencies (GitHub Actions) - upgrade `jlumbroso/free-disk-space` to `v1.3.1` - Gradle - upgrade `org.gradle.toolchains.foojay-resolver-convention` to `1.0.0` - Change since build to `243` (2024.3) +- Update codecov configuration based on new required upload token ## [2.1.0] - 2025-03-28 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..f6e0f07 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +coverage: + status: + project: + default: + informational: true + threshold: 0% + base: auto + patch: + default: + informational: true