Skip to content

Commit fee200d

Browse files
committed
fix test lint
Signed-off-by: yaron2 <schneider.yaron@live.com>
1 parent 4861754 commit fee200d

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@ jobs:
6060
- name: Run unit-tests
6161
run: |
6262
tox -e py`echo "${{ matrix.python_ver }}" | sed 's/\.//g'`
63+
- name: Run crewai unit-tests
64+
run: |
65+
tox -e crewai
6366
- name: Upload test coverage
6467
uses: codecov/codecov-action@v5

tox.ini

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ commands =
1717
coverage run -a -m unittest discover -v ./ext/dapr-ext-fastapi/tests
1818
coverage run -a -m unittest discover -v ./ext/dapr-ext-langgraph/tests
1919
coverage run -a -m unittest discover -v ./ext/dapr-ext-strands/tests
20-
coverage run -a -m unittest discover -v ./ext/dapr-ext-crewai/tests
2120
coverage run -a -m unittest discover -v ./ext/flask_dapr/tests
2221
coverage xml
2322
commands_pre =
@@ -27,7 +26,6 @@ commands_pre =
2726
pip3 install -e {toxinidir}/ext/dapr-ext-fastapi/
2827
pip3 install -e {toxinidir}/ext/dapr-ext-langgraph/
2928
pip3 install -e {toxinidir}/ext/dapr-ext-strands/
30-
pip3 install -e {toxinidir}/ext/dapr-ext-crewai/
3129
pip3 install -e {toxinidir}/ext/flask_dapr/
3230

3331
[testenv:ruff]
@@ -74,7 +72,6 @@ commands_pre =
7472
pip3 install -e {toxinidir}/ext/dapr-ext-fastapi/
7573
pip3 install -e {toxinidir}/ext/dapr-ext-langgraph/
7674
pip3 install -e {toxinidir}/ext/dapr-ext-strands/
77-
pip3 install -e {toxinidir}/ext/dapr-ext-crewai/
7875
allowlist_externals=*
7976

8077
[testenv:example-component]
@@ -96,7 +93,6 @@ commands_pre =
9693
pip3 install -e {toxinidir}/ext/dapr-ext-fastapi/
9794
pip3 install -e {toxinidir}/ext/dapr-ext-langgraph/
9895
pip3 install -e {toxinidir}/ext/dapr-ext-strands/
99-
pip3 install -e {toxinidir}/ext/dapr-ext-crewai/
10096
allowlist_externals=*
10197

10298
[testenv:type]
@@ -112,6 +108,15 @@ commands_pre =
112108
pip3 install -e {toxinidir}/ext/dapr-ext-fastapi/
113109
pip3 install -e {toxinidir}/ext/dapr-ext-langgraph/
114110
pip3 install -e {toxinidir}/ext/dapr-ext-strands/
111+
112+
[testenv:crewai]
113+
basepython = python3
114+
usedevelop = False
115+
commands =
116+
python -m unittest discover -v ./ext/dapr-ext-crewai/tests
117+
commands_pre =
118+
pip3 install -e {toxinidir}/
119+
pip3 install -e {toxinidir}/ext/dapr-ext-workflow/
115120
pip3 install -e {toxinidir}/ext/dapr-ext-crewai/
116121

117122
[testenv:doc]

0 commit comments

Comments
 (0)