Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite18bbba

Browse files
committed
drone: run codecov-report on pushes and pull_requests only
1 parent9f582c2 commite18bbba

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

‎drone/.drone.jsonnet‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ local build(go_version) = {
9595
commands: ['make build'],
9696
environment: {CGO_ENABLED:'0' },
9797
depends_on: ['mod-download'],
98+
when: {
99+
event: ['pull_request','push'],
100+
},
98101
};
99102

100103
local coverage_report = {

‎drone/.drone.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ steps:
5252
-make build
5353
environment:
5454
CGO_ENABLED:0
55+
when:
56+
event:
57+
-pull_request
58+
-push
5559
depends_on:
5660
-mod-download
5761

@@ -167,6 +171,10 @@ steps:
167171
-make build
168172
environment:
169173
CGO_ENABLED:0
174+
when:
175+
event:
176+
-pull_request
177+
-push
170178
depends_on:
171179
-mod-download
172180

@@ -236,6 +244,10 @@ steps:
236244
-make build
237245
environment:
238246
CGO_ENABLED:0
247+
when:
248+
event:
249+
-pull_request
250+
-push
239251
depends_on:
240252
-mod-download
241253

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp