From ffd993a8d695fddaf86c5b34242906c804222089 Mon Sep 17 00:00:00 2001 From: Peter Solnica Date: Tue, 18 Feb 2025 15:04:22 +0100 Subject: [PATCH] Trigger codecov manually after Test WFs are done (#2562) --- .github/workflows/codecov.yml | 30 ++++++++++++++++++++++++++++++ codecov.yml | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/codecov.yml diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 000000000..ed4b8c61c --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,30 @@ +name: CodeCov + +on: + workflow_run: + workflows: + - "sentry-delayed_job Test" + - "sentry-opentelemetry Test" + - "sentry-rails Test" + - "sentry-raven Test" + - "sentry-resque Test" + - "sentry-ruby Test" + - "sentry-sidekiq Test" + types: + - completed + branches: + - master + pull_request: + branches: + - master + +jobs: + codecov: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Codecov + uses: codecov/codecov-action@v5.3.1 + + - name: Trigger Codecov + run: codecovcli send-notifications diff --git a/codecov.yml b/codecov.yml index 03096bfb1..8a3a8e9ba 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,5 +1,7 @@ codecov: disable_default_path_fixes: true + notify: + manual_trigger: true ignore: - "**/spec/**" comment: