Skip to content

Commit

Permalink
Trigger codecov manually after Test WFs are done
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Feb 18, 2025
1 parent 6c0f514 commit b10dece
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -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:
release:
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
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
codecov:
disable_default_path_fixes: true
notify:
manual_trigger: true
ignore:
- "**/spec/**"
comment:
Expand Down

0 comments on commit b10dece

Please sign in to comment.