1 parent e3952cf commit 65f5330Copy full SHA for 65f5330
1 file changed
.github/workflows/ci.yml
@@ -41,14 +41,13 @@ jobs:
41
pip install -r requirements.txt
42
43
- name: 检查代码语法
44
+ shell: bash
45
run: |
- python -m py_compile src/*.py
46
- python -m py_compile src/platform/*.py
47
- python -m py_compile src/platform/*/ *.py
48
- python -m py_compile src/anti_ban/*.py
+ find src -name "*.py" -exec python -m py_compile {} \;
49
50
- name: 检查测试语法
51
- run: python -m py_compile tests/*.py
+ run: find tests -name "*.py" -exec python -m py_compile {} \;
52
53
- name: 运行测试
54
0 commit comments