From 9073d820636c1624cfed8386dd7be7552b208fda Mon Sep 17 00:00:00 2001 From: takanuva15 <6986426+takanuva15@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:20:55 -0500 Subject: [PATCH] Fix missing codecov configuration --- .github/template-cleanup/README.md | 1 + .github/workflows/build.yml | 1 + CHANGELOG.md | 3 +++ codecov.yml | 10 ++++++++++ 4 files changed, 15 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 f48baa1..3b65fcf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,6 +128,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 report inspectCode: diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d2053..936c2b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ## [Unreleased] +### Changed +- Update codecov configuration based on new required upload token + ## [2.1.0] - 2025-03-28 ### Added 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