Skip to content

Commit

Permalink
🔨Fix codecov2 (#6607)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg authored Oct 25, 2024
1 parent 4a8ea74 commit 0d5876e
Show file tree
Hide file tree
Showing 13 changed files with 170 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ parsers:
macro: no

comment:
layout: "reach,diff,flags,tree"
layout: "header,diff,flags,components"
behavior: default
require_changes: false


ignore:
- "test_*.py"
- "**/generated_models/*.py"
- "**/generated_code/*.py"
145 changes: 145 additions & 0 deletions .github/workflows/ci-testing-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-webserver-02:
needs: changes
Expand Down Expand Up @@ -396,6 +401,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-webserver-03:
needs: changes
Expand Down Expand Up @@ -437,6 +447,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-storage:
needs: changes
Expand Down Expand Up @@ -481,6 +496,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-agent:
needs: changes
Expand Down Expand Up @@ -527,6 +547,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-api:
needs: changes
Expand Down Expand Up @@ -610,6 +635,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-autoscaling:
needs: changes
Expand Down Expand Up @@ -654,6 +684,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-catalog:
needs: changes
Expand Down Expand Up @@ -704,6 +739,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-clusters-keeper:
needs: changes
Expand Down Expand Up @@ -759,6 +799,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-datcore-adapter:
needs: changes
Expand Down Expand Up @@ -809,6 +854,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-director:
needs: changes
Expand Down Expand Up @@ -846,6 +896,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-director-v2:
needs: changes
Expand Down Expand Up @@ -896,6 +951,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-aws-library:
needs: changes
Expand Down Expand Up @@ -940,6 +1000,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-dask-task-models-library:
needs: changes
Expand Down Expand Up @@ -984,6 +1049,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-dask-sidecar:
needs: changes
Expand Down Expand Up @@ -1028,6 +1098,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-osparc-gateway-server:
needs: changes
Expand Down Expand Up @@ -1082,6 +1157,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-payments:
needs: changes
Expand Down Expand Up @@ -1126,6 +1206,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-dynamic-scheduler:
needs: changes
Expand Down Expand Up @@ -1170,6 +1255,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-resource-usage-tracker:
needs: changes
Expand Down Expand Up @@ -1224,6 +1314,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-dynamic-sidecar:
needs: changes
Expand Down Expand Up @@ -1268,6 +1363,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-efs-guardian:
needs: changes
Expand Down Expand Up @@ -1323,6 +1423,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-frontend:
needs: changes
Expand Down Expand Up @@ -1439,6 +1544,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-invitations:
needs: changes
Expand Down Expand Up @@ -1483,6 +1593,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-service-integration:
needs: changes
Expand Down Expand Up @@ -1527,6 +1642,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-service-library:
needs: changes
Expand Down Expand Up @@ -1571,6 +1691,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-settings-library:
needs: changes
Expand Down Expand Up @@ -1615,6 +1740,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-models-library:
needs: changes
Expand Down Expand Up @@ -1658,6 +1788,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-notifications-library:
needs: changes
Expand Down Expand Up @@ -1706,6 +1841,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-test-simcore-sdk:
needs: changes
Expand Down Expand Up @@ -1752,6 +1892,11 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests #optional
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

unit-tests:
# NOTE: this is a github required status check!
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pip-delete-this-directory.txt
cov.xml
coverage.xml
htmlcov/
junit.xml
locust_report/
nosetests.xml
test_failures/
Expand Down
1 change: 1 addition & 0 deletions packages/aws-library/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tests-ci: ## runs unit tests
--cov-config=../../.coveragerc \
--cov-report=term-missing \
--cov-report=xml \
--junitxml=junit.xml -o junit_family=legacy \
--cov=aws_library \
--durations=10 \
--log-date-format="%Y-%m-%d %H:%M:%S" \
Expand Down
1 change: 1 addition & 0 deletions packages/dask-task-models-library/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tests-ci: ## runs unit tests
--cov-config=../../.coveragerc \
--cov-report=term-missing \
--cov-report=xml \
--junitxml=junit.xml -o junit_family=legacy \
--cov=dask_task_models_library \
--durations=10 \
--log-date-format="%Y-%m-%d %H:%M:%S" \
Expand Down
1 change: 1 addition & 0 deletions packages/models-library/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tests-ci: ## runs unit tests [ci-mode]
--cov-config=../../.coveragerc \
--cov-report=term-missing \
--cov-report=xml \
--junitxml=junit.xml -o junit_family=legacy \
--cov=models_library \
--durations=10 \
--log-date-format="%Y-%m-%d %H:%M:%S" \
Expand Down
Loading

0 comments on commit 0d5876e

Please sign in to comment.