@@ -13,24 +13,44 @@ steps:
1313 - name : " :go::robot_face: Lint"
1414 key : check-code-committed
1515 command : .buildkite/steps/check-code-committed.sh
16- if_changed : " {go.mod,go.sum,**.go,.buildkite/steps/check-code-committed.sh}"
16+ if_changed :
17+ - go.{mod,sum}
18+ - " **.go"
19+ - .buildkite/steps/check-code-committed.sh
1720 plugins :
1821 - docker-compose#v4.14.0:
1922 config : .buildkite/docker-compose.yml
2023 cli-version : 2
2124 mount-buildkite-agent : true
2225 run : lint
2326
27+ - name : " :go::robot_face: Check protobuf generation"
28+ key : check-protobuf-genreation
29+ command : .buildkite/steps/check-protobuf-generation.sh
30+ if_changed :
31+ - api/proto/**
32+ - .buildkite/steps/check-protobuf-generation.sh
33+ plugins :
34+ - docker-compose#v4.14.0:
35+ config : .buildkite/docker-compose.yml
36+ cli-version : 2
37+ mount-buildkite-agent : true
38+ run : lint
39+
2440 - group : " :go::scientist: Tests and Coverage"
25- if_changed : " {go.mod,go.sum,**.go,**/fixtures/**,.buildkite/steps/{tests,test-coverage-report}.sh}"
41+ if_changed :
42+ - go.{mod,sum}
43+ - " **.go"
44+ - " **/fixtures/**"
45+ - .buildkite/steps/{tests,test-coverage-report}.sh
2646 steps :
2747 - name : " :linux: Linux AMD64 Tests"
2848 key : test-linux-amd64
2949 command : " .buildkite/steps/tests.sh"
3050 parallelism : 2
3151 artifact_paths :
3252 - junit-*.xml
33- - " coverage/**/ *"
53+ - " coverage-*/* *"
3454 plugins :
3555 - docker-compose#v4.14.0:
3656 config : .buildkite/docker-compose.yml
5171 parallelism : 2
5272 artifact_paths :
5373 - junit-*.xml
54- - " coverage/**/ *"
74+ - " coverage-*/* *"
5575 agents :
5676 queue : $AGENT_RUNNERS_LINUX_ARM64_QUEUE
5777 plugins :
7494 parallelism : 2
7595 artifact_paths :
7696 - junit-*.xml
77- - " coverage/**/ *"
97+ - " coverage-*/* *"
7898 agents :
7999 queue : $AGENT_RUNNERS_WINDOWS_QUEUE
80100 plugins :
@@ -93,7 +113,7 @@ steps:
93113 parallelism : 3
94114 artifact_paths :
95115 - junit-*.xml
96- - " coverage/**/ *"
116+ - " coverage-*/* *"
97117 agents :
98118 queue : $AGENT_RUNNERS_LINUX_ARM64_QUEUE
99119 plugins :
@@ -112,7 +132,7 @@ steps:
112132
113133 - name : " :coverage: Test coverage report Linux ARM64"
114134 key : test-coverage-linux-arm64
115- command : " .buildkite/steps/test-coverage-report.sh"
135+ command : " .buildkite/steps/test-coverage-report.sh coverage-linux-arm64 "
116136 artifact_paths :
117137 - " cover.html"
118138 - " cover.out"
@@ -124,12 +144,11 @@ steps:
124144 cli-version : 2
125145 run : agent
126146 - artifacts#v1.9.4:
127- download : " coverage/**"
128- step : test-linux-arm64
147+ download : " coverage-linux-arm64/**"
129148
130149 - name : " :coverage: Test coverage report Linux AMD64"
131150 key : test-coverage-linux-amd64
132- command : " .buildkite/steps/test-coverage-report.sh"
151+ command : " .buildkite/steps/test-coverage-report.sh coverage-linux-amd64 "
133152 artifact_paths :
134153 - " cover.html"
135154 - " cover.out"
@@ -141,12 +160,11 @@ steps:
141160 cli-version : 2
142161 run : agent
143162 - artifacts#v1.9.4:
144- download : " coverage/**"
145- step : test-linux-amd64
163+ download : " coverage-linux-amd64/**"
146164
147165 - name : " :coverage: Test coverage report Linux ARM64 Race"
148166 key : test-coverage-linux-arm64-race
149- command : " .buildkite/steps/test-coverage-report.sh"
167+ command : " .buildkite/steps/test-coverage-report.sh coverage-linux-arm64-race "
150168 artifact_paths :
151169 - " cover.html"
152170 - " cover.out"
@@ -158,8 +176,7 @@ steps:
158176 cli-version : 2
159177 run : agent
160178 - artifacts#v1.9.4:
161- download : " coverage/**"
162- step : test-race-linux-arm64
179+ download : " coverage-linux-arm64-race/**"
163180
164181 - label : " :writing_hand: Annotate with Test Failures"
165182 depends_on :
0 commit comments