Skip to content

Commit 39856a0

Browse files
ci
1 parent daa3a7a commit 39856a0

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
# Set job outputs to values from filter step
4848
outputs:
4949
aws-library: ${{ steps.filter.outputs.aws-library }}
50+
celery-library: ${{ steps.filter.outputs.celery-library }}
5051
dask-task-models-library: ${{ steps.filter.outputs.dask-task-models-library }}
5152
models-library: ${{ steps.filter.outputs.models-library }}
5253
common-library: ${{ steps.filter.outputs.common-library }}
@@ -94,6 +95,12 @@ jobs:
9495
- 'services/docker-compose*'
9596
- 'scripts/mypy/*'
9697
- 'mypy.ini'
98+
celery-library:
99+
- 'packages/celery-library/**'
100+
- 'packages/pytest-simcore/**'
101+
- 'services/docker-compose*'
102+
- 'scripts/mypy/*'
103+
- 'mypy.ini'
97104
dask-task-models-library:
98105
- 'packages/dask-task-models-library/**'
99106
- 'packages/pytest-simcore/**'
@@ -1031,6 +1038,49 @@ jobs:
10311038
with:
10321039
flags: unittests #optional
10331040

1041+
unit-test-celery-library:
1042+
needs: changes
1043+
if: ${{ needs.changes.outputs.celery-library == 'true' || github.event_name == 'push' || github.event.inputs.force_all_builds == 'true' }}
1044+
timeout-minutes: 18 # if this timeout gets too small, then split the tests
1045+
name: "[unit] celery-library"
1046+
runs-on: ${{ matrix.os }}
1047+
strategy:
1048+
matrix:
1049+
python: ["3.11"]
1050+
os: [ubuntu-24.04]
1051+
fail-fast: false
1052+
steps:
1053+
- uses: actions/checkout@v4
1054+
- name: setup docker buildx
1055+
id: buildx
1056+
uses: docker/setup-buildx-action@v3
1057+
with:
1058+
driver: docker-container
1059+
- name: setup python environment
1060+
uses: actions/setup-python@v5
1061+
with:
1062+
python-version: ${{ matrix.python }}
1063+
- name: install uv
1064+
uses: astral-sh/setup-uv@v6
1065+
with:
1066+
version: "0.6.x"
1067+
enable-cache: false
1068+
cache-dependency-glob: "**/celery-library/requirements/ci.txt"
1069+
- name: show system version
1070+
run: ./ci/helpers/show_system_versions.bash
1071+
- name: install
1072+
run: ./ci/github/unit-testing/celery-library.bash install
1073+
- name: typecheck
1074+
run: ./ci/github/unit-testing/celery-library.bash typecheck
1075+
- name: test
1076+
if: ${{ !cancelled() }}
1077+
run: ./ci/github/unit-testing/celery-library.bash test
1078+
- uses: codecov/codecov-action@v5
1079+
if: ${{ !cancelled() }}
1080+
env:
1081+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1082+
with:
1083+
flags: unittests #optional
10341084

10351085
unit-test-dask-task-models-library:
10361086
needs: changes
@@ -1813,6 +1863,7 @@ jobs:
18131863
unit-test-clusters-keeper,
18141864
unit-test-dask-sidecar,
18151865
unit-test-aws-library,
1866+
unit-test-celery-library,
18161867
unit-test-dask-task-models-library,
18171868
unit-test-datcore-adapter,
18181869
unit-test-director-v2,

0 commit comments

Comments
 (0)