Skip to content

Commit 0d5876e

Browse files
authored
🔨Fix codecov2 (#6607)
1 parent 4a8ea74 commit 0d5876e

File tree

13 files changed

+170
-1
lines changed

13 files changed

+170
-1
lines changed

.codecov.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ parsers:
5050
macro: no
5151

5252
comment:
53-
layout: "reach,diff,flags,tree"
53+
layout: "header,diff,flags,components"
5454
behavior: default
5555
require_changes: false
56+
57+
58+
ignore:
59+
- "test_*.py"
60+
- "**/generated_models/*.py"
61+
- "**/generated_code/*.py"

.github/workflows/ci-testing-deploy.yml

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,11 @@ jobs:
355355
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
356356
with:
357357
flags: unittests #optional
358+
- name: Upload test results to Codecov
359+
if: ${{ !cancelled() }}
360+
uses: codecov/test-results-action@v1
361+
with:
362+
token: ${{ secrets.CODECOV_TOKEN }}
358363

359364
unit-test-webserver-02:
360365
needs: changes
@@ -396,6 +401,11 @@ jobs:
396401
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
397402
with:
398403
flags: unittests #optional
404+
- name: Upload test results to Codecov
405+
if: ${{ !cancelled() }}
406+
uses: codecov/test-results-action@v1
407+
with:
408+
token: ${{ secrets.CODECOV_TOKEN }}
399409

400410
unit-test-webserver-03:
401411
needs: changes
@@ -437,6 +447,11 @@ jobs:
437447
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
438448
with:
439449
flags: unittests #optional
450+
- name: Upload test results to Codecov
451+
if: ${{ !cancelled() }}
452+
uses: codecov/test-results-action@v1
453+
with:
454+
token: ${{ secrets.CODECOV_TOKEN }}
440455

441456
unit-test-storage:
442457
needs: changes
@@ -481,6 +496,11 @@ jobs:
481496
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
482497
with:
483498
flags: unittests #optional
499+
- name: Upload test results to Codecov
500+
if: ${{ !cancelled() }}
501+
uses: codecov/test-results-action@v1
502+
with:
503+
token: ${{ secrets.CODECOV_TOKEN }}
484504

485505
unit-test-agent:
486506
needs: changes
@@ -527,6 +547,11 @@ jobs:
527547
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
528548
with:
529549
flags: unittests #optional
550+
- name: Upload test results to Codecov
551+
if: ${{ !cancelled() }}
552+
uses: codecov/test-results-action@v1
553+
with:
554+
token: ${{ secrets.CODECOV_TOKEN }}
530555

531556
unit-test-api:
532557
needs: changes
@@ -610,6 +635,11 @@ jobs:
610635
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
611636
with:
612637
flags: unittests #optional
638+
- name: Upload test results to Codecov
639+
if: ${{ !cancelled() }}
640+
uses: codecov/test-results-action@v1
641+
with:
642+
token: ${{ secrets.CODECOV_TOKEN }}
613643

614644
unit-test-autoscaling:
615645
needs: changes
@@ -654,6 +684,11 @@ jobs:
654684
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
655685
with:
656686
flags: unittests #optional
687+
- name: Upload test results to Codecov
688+
if: ${{ !cancelled() }}
689+
uses: codecov/test-results-action@v1
690+
with:
691+
token: ${{ secrets.CODECOV_TOKEN }}
657692

658693
unit-test-catalog:
659694
needs: changes
@@ -704,6 +739,11 @@ jobs:
704739
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
705740
with:
706741
flags: unittests #optional
742+
- name: Upload test results to Codecov
743+
if: ${{ !cancelled() }}
744+
uses: codecov/test-results-action@v1
745+
with:
746+
token: ${{ secrets.CODECOV_TOKEN }}
707747

708748
unit-test-clusters-keeper:
709749
needs: changes
@@ -759,6 +799,11 @@ jobs:
759799
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
760800
with:
761801
flags: unittests #optional
802+
- name: Upload test results to Codecov
803+
if: ${{ !cancelled() }}
804+
uses: codecov/test-results-action@v1
805+
with:
806+
token: ${{ secrets.CODECOV_TOKEN }}
762807

763808
unit-test-datcore-adapter:
764809
needs: changes
@@ -809,6 +854,11 @@ jobs:
809854
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
810855
with:
811856
flags: unittests #optional
857+
- name: Upload test results to Codecov
858+
if: ${{ !cancelled() }}
859+
uses: codecov/test-results-action@v1
860+
with:
861+
token: ${{ secrets.CODECOV_TOKEN }}
812862

813863
unit-test-director:
814864
needs: changes
@@ -846,6 +896,11 @@ jobs:
846896
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
847897
with:
848898
flags: unittests #optional
899+
- name: Upload test results to Codecov
900+
if: ${{ !cancelled() }}
901+
uses: codecov/test-results-action@v1
902+
with:
903+
token: ${{ secrets.CODECOV_TOKEN }}
849904

850905
unit-test-director-v2:
851906
needs: changes
@@ -896,6 +951,11 @@ jobs:
896951
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
897952
with:
898953
flags: unittests #optional
954+
- name: Upload test results to Codecov
955+
if: ${{ !cancelled() }}
956+
uses: codecov/test-results-action@v1
957+
with:
958+
token: ${{ secrets.CODECOV_TOKEN }}
899959

900960
unit-test-aws-library:
901961
needs: changes
@@ -940,6 +1000,11 @@ jobs:
9401000
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9411001
with:
9421002
flags: unittests #optional
1003+
- name: Upload test results to Codecov
1004+
if: ${{ !cancelled() }}
1005+
uses: codecov/test-results-action@v1
1006+
with:
1007+
token: ${{ secrets.CODECOV_TOKEN }}
9431008

9441009
unit-test-dask-task-models-library:
9451010
needs: changes
@@ -984,6 +1049,11 @@ jobs:
9841049
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9851050
with:
9861051
flags: unittests #optional
1052+
- name: Upload test results to Codecov
1053+
if: ${{ !cancelled() }}
1054+
uses: codecov/test-results-action@v1
1055+
with:
1056+
token: ${{ secrets.CODECOV_TOKEN }}
9871057

9881058
unit-test-dask-sidecar:
9891059
needs: changes
@@ -1028,6 +1098,11 @@ jobs:
10281098
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
10291099
with:
10301100
flags: unittests #optional
1101+
- name: Upload test results to Codecov
1102+
if: ${{ !cancelled() }}
1103+
uses: codecov/test-results-action@v1
1104+
with:
1105+
token: ${{ secrets.CODECOV_TOKEN }}
10311106

10321107
unit-test-osparc-gateway-server:
10331108
needs: changes
@@ -1082,6 +1157,11 @@ jobs:
10821157
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
10831158
with:
10841159
flags: unittests #optional
1160+
- name: Upload test results to Codecov
1161+
if: ${{ !cancelled() }}
1162+
uses: codecov/test-results-action@v1
1163+
with:
1164+
token: ${{ secrets.CODECOV_TOKEN }}
10851165

10861166
unit-test-payments:
10871167
needs: changes
@@ -1126,6 +1206,11 @@ jobs:
11261206
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
11271207
with:
11281208
flags: unittests #optional
1209+
- name: Upload test results to Codecov
1210+
if: ${{ !cancelled() }}
1211+
uses: codecov/test-results-action@v1
1212+
with:
1213+
token: ${{ secrets.CODECOV_TOKEN }}
11291214

11301215
unit-test-dynamic-scheduler:
11311216
needs: changes
@@ -1170,6 +1255,11 @@ jobs:
11701255
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
11711256
with:
11721257
flags: unittests #optional
1258+
- name: Upload test results to Codecov
1259+
if: ${{ !cancelled() }}
1260+
uses: codecov/test-results-action@v1
1261+
with:
1262+
token: ${{ secrets.CODECOV_TOKEN }}
11731263

11741264
unit-test-resource-usage-tracker:
11751265
needs: changes
@@ -1224,6 +1314,11 @@ jobs:
12241314
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
12251315
with:
12261316
flags: unittests #optional
1317+
- name: Upload test results to Codecov
1318+
if: ${{ !cancelled() }}
1319+
uses: codecov/test-results-action@v1
1320+
with:
1321+
token: ${{ secrets.CODECOV_TOKEN }}
12271322

12281323
unit-test-dynamic-sidecar:
12291324
needs: changes
@@ -1268,6 +1363,11 @@ jobs:
12681363
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
12691364
with:
12701365
flags: unittests #optional
1366+
- name: Upload test results to Codecov
1367+
if: ${{ !cancelled() }}
1368+
uses: codecov/test-results-action@v1
1369+
with:
1370+
token: ${{ secrets.CODECOV_TOKEN }}
12711371

12721372
unit-test-efs-guardian:
12731373
needs: changes
@@ -1323,6 +1423,11 @@ jobs:
13231423
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
13241424
with:
13251425
flags: unittests #optional
1426+
- name: Upload test results to Codecov
1427+
if: ${{ !cancelled() }}
1428+
uses: codecov/test-results-action@v1
1429+
with:
1430+
token: ${{ secrets.CODECOV_TOKEN }}
13261431

13271432
unit-test-frontend:
13281433
needs: changes
@@ -1439,6 +1544,11 @@ jobs:
14391544
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
14401545
with:
14411546
flags: unittests #optional
1547+
- name: Upload test results to Codecov
1548+
if: ${{ !cancelled() }}
1549+
uses: codecov/test-results-action@v1
1550+
with:
1551+
token: ${{ secrets.CODECOV_TOKEN }}
14421552

14431553
unit-test-invitations:
14441554
needs: changes
@@ -1483,6 +1593,11 @@ jobs:
14831593
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
14841594
with:
14851595
flags: unittests #optional
1596+
- name: Upload test results to Codecov
1597+
if: ${{ !cancelled() }}
1598+
uses: codecov/test-results-action@v1
1599+
with:
1600+
token: ${{ secrets.CODECOV_TOKEN }}
14861601

14871602
unit-test-service-integration:
14881603
needs: changes
@@ -1527,6 +1642,11 @@ jobs:
15271642
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15281643
with:
15291644
flags: unittests #optional
1645+
- name: Upload test results to Codecov
1646+
if: ${{ !cancelled() }}
1647+
uses: codecov/test-results-action@v1
1648+
with:
1649+
token: ${{ secrets.CODECOV_TOKEN }}
15301650

15311651
unit-test-service-library:
15321652
needs: changes
@@ -1571,6 +1691,11 @@ jobs:
15711691
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15721692
with:
15731693
flags: unittests #optional
1694+
- name: Upload test results to Codecov
1695+
if: ${{ !cancelled() }}
1696+
uses: codecov/test-results-action@v1
1697+
with:
1698+
token: ${{ secrets.CODECOV_TOKEN }}
15741699

15751700
unit-test-settings-library:
15761701
needs: changes
@@ -1615,6 +1740,11 @@ jobs:
16151740
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
16161741
with:
16171742
flags: unittests #optional
1743+
- name: Upload test results to Codecov
1744+
if: ${{ !cancelled() }}
1745+
uses: codecov/test-results-action@v1
1746+
with:
1747+
token: ${{ secrets.CODECOV_TOKEN }}
16181748

16191749
unit-test-models-library:
16201750
needs: changes
@@ -1658,6 +1788,11 @@ jobs:
16581788
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
16591789
with:
16601790
flags: unittests #optional
1791+
- name: Upload test results to Codecov
1792+
if: ${{ !cancelled() }}
1793+
uses: codecov/test-results-action@v1
1794+
with:
1795+
token: ${{ secrets.CODECOV_TOKEN }}
16611796

16621797
unit-test-notifications-library:
16631798
needs: changes
@@ -1706,6 +1841,11 @@ jobs:
17061841
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17071842
with:
17081843
flags: unittests #optional
1844+
- name: Upload test results to Codecov
1845+
if: ${{ !cancelled() }}
1846+
uses: codecov/test-results-action@v1
1847+
with:
1848+
token: ${{ secrets.CODECOV_TOKEN }}
17091849

17101850
unit-test-simcore-sdk:
17111851
needs: changes
@@ -1752,6 +1892,11 @@ jobs:
17521892
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17531893
with:
17541894
flags: unittests #optional
1895+
- name: Upload test results to Codecov
1896+
if: ${{ !cancelled() }}
1897+
uses: codecov/test-results-action@v1
1898+
with:
1899+
token: ${{ secrets.CODECOV_TOKEN }}
17551900

17561901
unit-tests:
17571902
# NOTE: this is a github required status check!

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pip-delete-this-directory.txt
5050
cov.xml
5151
coverage.xml
5252
htmlcov/
53+
junit.xml
5354
locust_report/
5455
nosetests.xml
5556
test_failures/

packages/aws-library/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ tests-ci: ## runs unit tests
4040
--cov-config=../../.coveragerc \
4141
--cov-report=term-missing \
4242
--cov-report=xml \
43+
--junitxml=junit.xml -o junit_family=legacy \
4344
--cov=aws_library \
4445
--durations=10 \
4546
--log-date-format="%Y-%m-%d %H:%M:%S" \

packages/dask-task-models-library/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ tests-ci: ## runs unit tests
4040
--cov-config=../../.coveragerc \
4141
--cov-report=term-missing \
4242
--cov-report=xml \
43+
--junitxml=junit.xml -o junit_family=legacy \
4344
--cov=dask_task_models_library \
4445
--durations=10 \
4546
--log-date-format="%Y-%m-%d %H:%M:%S" \

packages/models-library/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ tests-ci: ## runs unit tests [ci-mode]
4040
--cov-config=../../.coveragerc \
4141
--cov-report=term-missing \
4242
--cov-report=xml \
43+
--junitxml=junit.xml -o junit_family=legacy \
4344
--cov=models_library \
4445
--durations=10 \
4546
--log-date-format="%Y-%m-%d %H:%M:%S" \

0 commit comments

Comments
 (0)