Skip to content

Commit 87aa332

Browse files
committed
add junit-xml output
1 parent 4a8ea74 commit 87aa332

File tree

11 files changed

+18
-0
lines changed

11 files changed

+18
-0
lines changed

.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" \

packages/notifications-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=notifications_library \
4445
--durations=10 \
4546
--log-date-format="%Y-%m-%d %H:%M:%S" \

packages/postgres-database/Makefile

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

packages/service-integration/Makefile

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

packages/service-library/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ test-dev: ## runs unit tests in w/o extras
3434
--cov-config=$(CURDIR)/../../.coveragerc \
3535
--cov-report=term-missing \
3636
--cov-report=xml \
37+
--junitxml=junit.xml -o junit_family=legacy \
3738
--cov=$(APP_PACKAGE_NAME) \
3839
--durations=10 \
3940
--exitfirst \
@@ -55,6 +56,7 @@ test-dev[aiohttp]: ## runs unit common tests and aiohttp extras
5556
--cov-config=$(CURDIR)/../../.coveragerc \
5657
--cov-report=term-missing \
5758
--cov-report=xml \
59+
--junitxml=junit.xml -o junit_family=legacy \
5860
--cov=$(APP_PACKAGE_NAME) \
5961
--durations=10 \
6062
--exitfirst \
@@ -74,6 +76,7 @@ test-dev[fastapi]: ## runs unit common tests and fastapi extras
7476
--cov-config=$(CURDIR)/../../.coveragerc \
7577
--cov-report=term-missing \
7678
--cov-report=xml \
79+
--junitxml=junit.xml -o junit_family=legacy \
7780
--cov=$(APP_PACKAGE_NAME) \
7881
--durations=10 \
7982
--exitfirst \
@@ -92,6 +95,7 @@ test-dev[all]: ## runs unit tests w/ all extras
9295
--cov-config=$(CURDIR)/../../.coveragerc \
9396
--cov-report=term-missing \
9497
--cov-report=xml \
98+
--junitxml=junit.xml -o junit_family=legacy \
9599
--cov=$(APP_PACKAGE_NAME) \
96100
--durations=10 \
97101
--exitfirst \
@@ -111,6 +115,7 @@ test-ci[all]: ## runs unit tests w/ all extras
111115
--cov-config=$(CURDIR)/../../.coveragerc \
112116
--cov-report=term-missing \
113117
--cov-report=xml \
118+
--junitxml=junit.xml -o junit_family=legacy \
114119
--cov=$(APP_PACKAGE_NAME) \
115120
--durations=10 \
116121
--keep-docker-up \

packages/settings-library/Makefile

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

packages/simcore-sdk/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ tests-unit-ci: ## runs unit tests with ci parameters
4242
--cov-config=../../.coveragerc \
4343
--cov-report=term-missing \
4444
--cov-report=xml \
45+
--junitxml=junit.xml -o junit_family=legacy \
4546
--cov=simcore_sdk \
4647
--durations=10 \
4748
--keep-docker-up \
@@ -61,6 +62,7 @@ tests-integration: ## runs integration tests against local+production images
6162
--cov-config=../../.coveragerc \
6263
--cov-report=term-missing \
6364
--cov-report=xml \
65+
--junitxml=junit.xml -o junit_family=legacy \
6466
--cov=simcore_sdk \
6567
--durations=10 \
6668
--exitfirst \
@@ -80,6 +82,7 @@ tests-integration-ci: ## runs integration tests against local+production images
8082
--cov-config=../../.coveragerc \
8183
--cov-report=term-missing \
8284
--cov-report=xml \
85+
--junitxml=junit.xml -o junit_family=legacy \
8386
--cov=simcore_sdk \
8487
--durations=10 \
8588
--keep-docker-up \

0 commit comments

Comments
 (0)