Skip to content

Commit 4ba65ce

Browse files
committed
Add requirements for running unit tests
1 parent 283da92 commit 4ba65ce

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/_unit_test_coverage.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ jobs:
9797
python -m pip install paddlepaddle-gpu==3.0.0.dev20250729 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
9898
9999
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
100+
python -m pip install -r scripts/unittest_requirement.txt
100101
101-
102-
python -m pip install coverage
103-
python -m pip install diff-cover
104102
python -m pip install ${fd_wheel_url}
105103
if [ -d "test/plugins" ]; then
106104
cd test/plugins

scripts/unittest_requirement.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
respx
2+
pytest
3+
pytest-asyncio
4+
pytest-tornasync
5+
pytest-trio
6+
pytest-twisted
7+
anyio
8+
coverage
9+
diff-cover

0 commit comments

Comments
 (0)