Skip to content

Commit 90ec142

Browse files
authored
♻️ Maintenance: renamed travis tests to heavy load (ITISFoundation#3099)
1 parent b2d3262 commit 90ec142

21 files changed

+289
-114
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: ./ci/deploy/dockerhub-test-images.bash
7676

7777
unit-test-webserver-01:
78-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
78+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
7979
name: "[unit] webserver 01"
8080
runs-on: ${{ matrix.os }}
8181
strategy:
@@ -126,7 +126,7 @@ jobs:
126126
path: codeclimate.${{ github.job }}_coverage.json
127127

128128
unit-test-webserver-02:
129-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
129+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
130130
name: "[unit] webserver 02"
131131
runs-on: ${{ matrix.os }}
132132
strategy:
@@ -175,7 +175,7 @@ jobs:
175175
path: codeclimate.${{ github.job }}_coverage.json
176176

177177
unit-test-webserver-03:
178-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
178+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
179179
name: "[unit] webserver 03"
180180
runs-on: ${{ matrix.os }}
181181
strategy:
@@ -224,7 +224,7 @@ jobs:
224224
path: codeclimate.${{ github.job }}_coverage.json
225225

226226
unit-test-api:
227-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
227+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
228228
name: "[unit] api"
229229
runs-on: ${{ matrix.os }}
230230
strategy:
@@ -260,7 +260,7 @@ jobs:
260260
run: ./ci/github/unit-testing/api.bash test
261261

262262
unit-test-api-server:
263-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
263+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
264264
name: "[unit] api-server"
265265
runs-on: ${{ matrix.os }}
266266
strategy:
@@ -309,7 +309,7 @@ jobs:
309309
path: codeclimate.${{ github.job }}_coverage.json
310310

311311
unit-test-catalog:
312-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
312+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
313313
name: "[unit] catalog"
314314
runs-on: ${{ matrix.os }}
315315
strategy:
@@ -364,7 +364,7 @@ jobs:
364364
path: codeclimate.${{ github.job }}_coverage.json
365365

366366
unit-test-datcore-adapter:
367-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
367+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
368368
name: "[unit] datcore-adapter"
369369
runs-on: ${{ matrix.os }}
370370
strategy:
@@ -419,7 +419,7 @@ jobs:
419419
path: codeclimate.${{ github.job }}_coverage.json
420420

421421
unit-test-director:
422-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
422+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
423423
name: "[unit] director"
424424
runs-on: ${{ matrix.os }}
425425
strategy:
@@ -469,7 +469,7 @@ jobs:
469469
path: codeclimate.${{ github.job }}_coverage.json
470470

471471
unit-test-director-v2:
472-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
472+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
473473
name: "[unit] director-v2"
474474
runs-on: ${{ matrix.os }}
475475
strategy:
@@ -524,7 +524,7 @@ jobs:
524524
path: codeclimate.${{ github.job }}_coverage.json
525525

526526
unit-test-dask-task-models-library:
527-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
527+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
528528
name: "[unit] dask-task-models-library"
529529
runs-on: ${{ matrix.os }}
530530
strategy:
@@ -575,7 +575,7 @@ jobs:
575575
path: codeclimate.${{ github.job }}_coverage.json
576576

577577
unit-test-dask-sidecar:
578-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
578+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
579579
name: "[unit] dask-sidecar"
580580
runs-on: ${{ matrix.os }}
581581
strategy:
@@ -624,7 +624,7 @@ jobs:
624624
path: codeclimate.${{ github.job }}_coverage.json
625625

626626
unit-test-dynamic-sidecar:
627-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
627+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
628628
name: "[unit] dynamic-sidecar"
629629
runs-on: ${{ matrix.os }}
630630
strategy:
@@ -675,7 +675,7 @@ jobs:
675675
path: codeclimate.${{ github.job }}_coverage.json
676676

677677
unit-test-frontend:
678-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
678+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
679679
name: "[unit] frontend"
680680
runs-on: ${{ matrix.os }}
681681
strategy:
@@ -713,7 +713,7 @@ jobs:
713713
# flags: unittests #optional
714714

715715
unit-test-python-linting:
716-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
716+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
717717
name: "[unit] python-linting"
718718
runs-on: ${{ matrix.os }}
719719
strategy:
@@ -749,7 +749,7 @@ jobs:
749749
run: ./ci/github/unit-testing/python-linting.bash test
750750

751751
unit-test-postgres-database:
752-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
752+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
753753
name: "[unit] postgres-database"
754754
runs-on: ${{ matrix.os }}
755755
strategy:
@@ -799,7 +799,7 @@ jobs:
799799
path: codeclimate.${{ github.job }}_coverage.json
800800

801801
unit-test-service-integration:
802-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
802+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
803803
name: "[unit] service-integration"
804804
runs-on: ${{ matrix.os }}
805805
strategy:
@@ -848,7 +848,7 @@ jobs:
848848
path: codeclimate.${{ github.job }}_coverage.json
849849

850850
unit-test-service-library:
851-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
851+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
852852
name: "[unit] service-library"
853853
runs-on: ${{ matrix.os }}
854854
strategy:
@@ -897,7 +897,7 @@ jobs:
897897
path: codeclimate.${{ github.job }}_coverage.json
898898

899899
unit-test-settings-library:
900-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
900+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
901901
name: "[unit] settings-library"
902902
runs-on: ${{ matrix.os }}
903903
strategy:
@@ -946,7 +946,7 @@ jobs:
946946
path: codeclimate.${{ github.job }}_coverage.json
947947

948948
unit-test-models-library:
949-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
949+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
950950
name: "[unit] models-library"
951951
runs-on: ${{ matrix.os }}
952952
strategy:
@@ -995,7 +995,7 @@ jobs:
995995
path: codeclimate.${{ github.job }}_coverage.json
996996

997997
unit-test-simcore-sdk:
998-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
998+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
999999
name: "[unit] simcore-sdk"
10001000
runs-on: ${{ matrix.os }}
10011001
strategy:
@@ -1046,7 +1046,7 @@ jobs:
10461046
path: codeclimate.${{ github.job }}_coverage.json
10471047

10481048
unit-test-storage:
1049-
timeout-minutes: 15 # if this timeout gets too small, then split the tests
1049+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
10501050
name: "[unit] storage"
10511051
runs-on: ${{ matrix.os }}
10521052
strategy:

ci/github/integration-testing/director-v2.bash

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,21 @@ install() {
2121

2222
test() {
2323
echo "testing in services/director-v2/tests/integration/$1"
24-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
25-
--log-date-format="%Y-%m-%d %H:%M:%S" \
26-
--cov=simcore_service_director_v2 --durations=10 --cov-append \
27-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
24+
pytest \
2825
--asyncio-mode=auto \
29-
-v -m "not travis" "services/director-v2/tests/integration/$1" --log-level=DEBUG
26+
--color=yes \
27+
--cov-append \
28+
--cov-config=.coveragerc \
29+
--cov-report=term-missing \
30+
--cov-report=xml \
31+
--cov=simcore_service_director_v2 \
32+
--durations=10 \
33+
--log-date-format="%Y-%m-%d %H:%M:%S" \
34+
--log-format="%(asctime)s %(levelname)s %(message)s" \
35+
--log-level=DEBUG \
36+
--verbose \
37+
-m "not heavy_load" \
38+
"services/director-v2/tests/integration/$1"
3039
}
3140

3241
clean_up() {

ci/github/integration-testing/simcore-sdk.bash

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,21 @@ install() {
2020
}
2121

2222
test() {
23-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
24-
--log-date-format="%Y-%m-%d %H:%M:%S" \
25-
--cov=simcore_sdk --durations=10 --cov-append \
26-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
23+
pytest \
2724
--asyncio-mode=auto \
28-
-v -m "not travis" packages/simcore-sdk/tests/integration --log-level=DEBUG
25+
--color=yes \
26+
--cov-append \
27+
--cov-config=.coveragerc \
28+
--cov-report=term-missing \
29+
--cov-report=xml \
30+
--cov=simcore_sdk \
31+
--durations=10 \
32+
--log-date-format="%Y-%m-%d %H:%M:%S" \
33+
--log-format="%(asctime)s %(levelname)s %(message)s" \
34+
--log-level=DEBUG \
35+
--verbose \
36+
-m "not heavy_load" \
37+
packages/simcore-sdk/tests/integration
2938
}
3039

3140
clean_up() {

ci/github/integration-testing/webserver.bash

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,20 @@ install() {
2020
}
2121

2222
test() {
23-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
24-
--log-date-format="%Y-%m-%d %H:%M:%S" \
25-
--cov=simcore_service_webserver --durations=10 --cov-append \
26-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
23+
pytest \
2724
--asyncio-mode=auto \
28-
-v -m "not travis" "services/web/server/tests/integration/$1"
25+
--color=yes \
26+
--cov-append \
27+
--cov-config=.coveragerc \
28+
--cov-report=term-missing \
29+
--cov-report=xml \
30+
--cov=simcore_service_webserver \
31+
--durations=10 \
32+
--log-date-format="%Y-%m-%d %H:%M:%S" \
33+
--log-format="%(asctime)s %(levelname)s %(message)s" \
34+
--verbose \
35+
-m "not heavy_load" \
36+
"services/web/server/tests/integration/$1"
2937
}
3038

3139
clean_up() {

ci/github/unit-testing/api-server.bash

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ install() {
1414
}
1515

1616
test() {
17-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
18-
--log-date-format="%Y-%m-%d %H:%M:%S" \
19-
--cov=simcore_service_api_server --durations=10 --cov-append \
20-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
17+
pytest \
2118
--asyncio-mode=auto \
22-
-v -m "not travis" services/api-server/tests/unit
19+
--color=yes \
20+
--cov-append \
21+
--cov-config=.coveragerc \
22+
--cov-report=term-missing \
23+
--cov-report=xml \
24+
--cov=simcore_service_api_server \
25+
--durations=10 \
26+
--log-date-format="%Y-%m-%d %H:%M:%S" \
27+
--log-format="%(asctime)s %(levelname)s %(message)s" \
28+
--verbose \
29+
-m "not heavy_load" \
30+
services/api-server/tests/unit
2331
}
2432

2533
# Check if the function exists (bash specific)

ci/github/unit-testing/api.bash

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ install() {
1212
}
1313

1414
test() {
15-
pytest --durations=10 \
16-
-v -m "not travis" api/tests
15+
pytest \
16+
--color=yes \
17+
--durations=10 \
18+
--log-date-format="%Y-%m-%d %H:%M:%S" \
19+
--log-format="%(asctime)s %(levelname)s %(message)s" \
20+
--verbose \
21+
-m "not heavy_load" \
22+
api/tests
1723
}
1824

1925
# Check if the function exists (bash specific)

ci/github/unit-testing/catalog.bash

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ install() {
1414
}
1515

1616
test() {
17-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
18-
--log-date-format="%Y-%m-%d %H:%M:%S" \
19-
--cov=simcore_service_catalog --durations=10 --cov-append \
20-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
17+
pytest \
2118
--asyncio-mode=auto \
22-
-v -m "not travis" services/catalog/tests/unit
19+
--color=yes \
20+
--cov-append \
21+
--cov-config=.coveragerc \
22+
--cov-report=term-missing \
23+
--cov-report=xml \
24+
--cov=simcore_service_catalog \
25+
--durations=10 \
26+
--log-date-format="%Y-%m-%d %H:%M:%S" \
27+
--log-format="%(asctime)s %(levelname)s %(message)s" \
28+
--verbose \
29+
-m "not heavy_load" \
30+
services/catalog/tests/unit
2331
}
2432

2533
# Check if the function exists (bash specific)

ci/github/unit-testing/dask-sidecar.bash

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ install() {
1414
}
1515

1616
test() {
17-
pytest --log-format="%(asctime)s %(levelname)s %(message)s" \
18-
--log-date-format="%Y-%m-%d %H:%M:%S" \
19-
--cov=simcore_service_dask_sidecar --durations=10 --cov-append \
20-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
17+
pytest \
2118
--asyncio-mode=auto \
22-
-v services/dask-sidecar/tests/unit
19+
--color=yes \
20+
--cov-append \
21+
--cov-config=.coveragerc \
22+
--cov-report=term-missing \
23+
--cov-report=xml \
24+
--cov=simcore_service_dask_sidecar \
25+
--durations=10 \
26+
--log-date-format="%Y-%m-%d %H:%M:%S" \
27+
--log-format="%(asctime)s %(levelname)s %(message)s" \
28+
--verbose \
29+
-m "not heavy_load" \
30+
services/dask-sidecar/tests/unit
2331
}
2432

2533
# Check if the function exists (bash specific)

ci/github/unit-testing/dask-task-models-library.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ test() {
3131
--cov-report=xml \
3232
--cov=dask_task_models_library \
3333
--durations=10 \
34+
--log-date-format="%Y-%m-%d %H:%M:%S" \
35+
--log-format="%(asctime)s %(levelname)s %(message)s" \
3436
--verbose \
37+
-m "not heavy_load" \
3538
packages/dask-task-models-library/tests
3639
}
3740

ci/github/unit-testing/datcore-adapter.bash

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,21 @@ install() {
1414
}
1515

1616
test() {
17-
pytest --numprocesses=auto --cov=simcore_service_datcore_adapter --durations=10 --cov-append \
18-
--color=yes --cov-report=term-missing --cov-report=xml --cov-config=.coveragerc \
17+
pytest \
1918
--asyncio-mode=auto \
20-
-v -m "not travis" services/datcore-adapter/tests/unit
19+
--color=yes \
20+
--cov-append \
21+
--cov-config=.coveragerc \
22+
--cov-report=term-missing \
23+
--cov-report=xml \
24+
--cov=simcore_service_datcore_adapter \
25+
--durations=10 \
26+
--log-date-format="%Y-%m-%d %H:%M:%S" \
27+
--log-format="%(asctime)s %(levelname)s %(message)s" \
28+
--numprocesses=auto \
29+
--verbose \
30+
-m "not heavy_load" \
31+
services/datcore-adapter/tests/unit
2132
}
2233

2334
# Check if the function exists (bash specific)

0 commit comments

Comments
 (0)