Skip to content

Commit ffd993a

Browse files
authored
Trigger codecov manually after Test WFs are done (#2562)
1 parent db975df commit ffd993a

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CodeCov
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- "sentry-delayed_job Test"
7+
- "sentry-opentelemetry Test"
8+
- "sentry-rails Test"
9+
- "sentry-raven Test"
10+
- "sentry-resque Test"
11+
- "sentry-ruby Test"
12+
- "sentry-sidekiq Test"
13+
types:
14+
- completed
15+
branches:
16+
- master
17+
pull_request:
18+
branches:
19+
- master
20+
21+
jobs:
22+
codecov:
23+
runs-on: ubuntu-latest
24+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
25+
steps:
26+
- name: Codecov
27+
uses: codecov/[email protected]
28+
29+
- name: Trigger Codecov
30+
run: codecovcli send-notifications

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
codecov:
22
disable_default_path_fixes: true
3+
notify:
4+
manual_trigger: true
35
ignore:
46
- "**/spec/**"
57
comment:

0 commit comments

Comments
 (0)