Skip to content

Commit fa08e42

Browse files
authored
chore(ci): flag CodeCov uploads (#7283)
This makes it easier to identify failed uploads in the CodeCov UI
1 parent acae576 commit fa08e42

10 files changed

Lines changed: 172 additions & 42 deletions

File tree

.github/workflows/aiguard.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- uses: ./.github/actions/install
2525
- run: yarn test:aiguard:ci
2626
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
27+
with:
28+
flags: aiguard-macos
2729
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
2830
if: always() && github.actor != 'dependabot[bot]'
2931
with:
@@ -44,6 +46,8 @@ jobs:
4446
- uses: ./.github/actions/node/latest
4547
- run: yarn test:aiguard:ci
4648
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
49+
with:
50+
flags: aiguard-ubuntu
4751

4852
windows:
4953
runs-on: windows-latest
@@ -55,6 +59,8 @@ jobs:
5559
cache: 'true'
5660
- run: yarn test:aiguard:ci
5761
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
62+
with:
63+
flags: aiguard-windows
5864
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
5965
if: always() && github.actor != 'dependabot[bot]'
6066
with:

.github/workflows/apm-capabilities.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- uses: ./.github/actions/install
3232
- run: yarn test:trace:core:ci
3333
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
34+
with:
35+
flags: apm-capabilities-tracing-macos
3436
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
3537
if: always() && github.actor != 'dependabot[bot]'
3638
with:
@@ -51,6 +53,8 @@ jobs:
5153
- uses: ./.github/actions/node/latest
5254
- run: yarn test:trace:core:ci
5355
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
56+
with:
57+
flags: apm-capabilities-tracing-ubuntu
5458
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
5559
if: always() && github.actor != 'dependabot[bot]'
5660
with:
@@ -67,6 +71,8 @@ jobs:
6771
cache: 'true'
6872
- run: yarn test:trace:core:ci
6973
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
74+
with:
75+
flags: apm-capabilities-tracing-windows
7076
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
7177
if: always() && github.actor != 'dependabot[bot]'
7278
with:

.github/workflows/apm-integrations.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
with:
8080
suffix: plugins-${{ github.job }}-${{ matrix.node-version }}-${{ matrix.range_clean }}
8181
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
82+
with:
83+
flags: apm-integrations-aerospike-${{ matrix.node-version }}-${{ matrix.range_clean }}
8284
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
8385
if: always() && github.actor != 'dependabot[bot]'
8486
with:
@@ -210,6 +212,8 @@ jobs:
210212
- uses: ./.github/actions/node/latest
211213
- run: yarn test:plugins:ci
212214
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
215+
with:
216+
flags: apm-integrations-child-process
213217
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
214218
if: always() && github.actor != 'dependabot[bot]'
215219
with:
@@ -277,6 +281,8 @@ jobs:
277281
with:
278282
suffix: plugins-${{ github.job }}-${{ matrix.node-version }}
279283
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
284+
with:
285+
flags: apm-integrations-confluentinc-kafka-javascript-${{ matrix.node-version }}
280286
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
281287
if: always() && github.actor != 'dependabot[bot]'
282288
with:
@@ -337,6 +343,8 @@ jobs:
337343
- run: yarn config set ignore-engines true
338344
- run: yarn test:plugins:ci --ignore-engines
339345
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
346+
with:
347+
flags: apm-integrations-couchbase-${{ matrix.node-version }}
340348
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
341349
if: always() && github.actor != 'dependabot[bot]'
342350
with:
@@ -374,6 +382,8 @@ jobs:
374382
with:
375383
suffix: plugins-${{ github.job }}
376384
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
385+
with:
386+
flags: apm-integrations-dns
377387
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
378388
if: always() && github.actor != 'dependabot[bot]'
379389
with:
@@ -403,6 +413,8 @@ jobs:
403413
with:
404414
suffix: plugins-${{ github.job }}
405415
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
416+
with:
417+
flags: apm-integrations-elasticsearch
406418
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
407419
if: always() && github.actor != 'dependabot[bot]'
408420
with:
@@ -550,6 +562,8 @@ jobs:
550562
with:
551563
suffix: plugins-${{ github.job }}-${{ matrix.node-version }}
552564
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
565+
with:
566+
flags: apm-integrations-http-${{ matrix.node-version }}
553567
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
554568
if: always() && github.actor != 'dependabot[bot]'
555569
with:
@@ -577,6 +591,8 @@ jobs:
577591
with:
578592
suffix: plugins-${{ github.job }}
579593
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
594+
with:
595+
flags: apm-integrations-http2
580596
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
581597
if: always() && github.actor != 'dependabot[bot]'
582598
with:
@@ -627,6 +643,8 @@ jobs:
627643
with:
628644
suffix: plugins-${{ github.job }}-${{ matrix.node-version }}
629645
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
646+
with:
647+
flags: apm-integrations-kafkajs-${{ matrix.node-version }}
630648
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
631649
if: always() && github.actor != 'dependabot[bot]'
632650
with:
@@ -867,6 +885,8 @@ jobs:
867885
with:
868886
suffix: plugins-${{ github.job }}
869887
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
888+
with:
889+
flags: apm-integrations-net
870890
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
871891
if: always() && github.actor != 'dependabot[bot]'
872892
with:
@@ -923,6 +943,8 @@ jobs:
923943
with:
924944
suffix: plugins-${{ github.job }}-${{ matrix.version }}-${{ matrix.range_clean }}
925945
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
946+
with:
947+
flags: apm-integrations-next-${{ matrix.range_clean }}
926948
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
927949
if: always() && github.actor != 'dependabot[bot]'
928950
with:
@@ -1001,6 +1023,8 @@ jobs:
10011023
- run: yarn services --ignore-engines
10021024
- run: yarn test:plugins --ignore-engines
10031025
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
1026+
with:
1027+
flags: apm-integrations-oracledb
10041028
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
10051029
if: always() && github.actor != 'dependabot[bot]'
10061030
with:
@@ -1026,6 +1050,8 @@ jobs:
10261050
with:
10271051
suffix: plugins-${{ github.job }}
10281052
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
1053+
with:
1054+
flags: apm-integrations-pino
10291055
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
10301056
if: always() && github.actor != 'dependabot[bot]'
10311057
with:
@@ -1087,6 +1113,8 @@ jobs:
10871113
with:
10881114
suffix: plugins-${{ github.job }}-${{ matrix.node-version }}-${{ matrix.range_clean }}
10891115
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
1116+
with:
1117+
flags: apm-integrations-prisma-${{ matrix.node-version }}-${{ matrix.range_clean }}
10901118
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
10911119
if: always() && github.actor != 'dependabot[bot]'
10921120
with:
@@ -1242,6 +1270,8 @@ jobs:
12421270
with:
12431271
suffix: plugins-${{ github.job }}
12441272
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
1273+
with:
1274+
flags: apm-integrations-sharedb
12451275
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
12461276
if: always() && github.actor != 'dependabot[bot]'
12471277
with:
@@ -1274,6 +1304,8 @@ jobs:
12741304
with:
12751305
suffix: plugins-${{ github.job }}
12761306
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
1307+
with:
1308+
flags: apm-integrations-tedious
12771309
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
12781310
if: always() && github.actor != 'dependabot[bot]'
12791311
with:

0 commit comments

Comments
 (0)