Commit 0ab2fead authored by limm's avatar limm
Browse files

Merge branch 'add_script' into '1.6.3-fastpt'

add scripts for jenkins automation

See merge request !2
parents f4e5ad54 851b21aa
#!/bin/bash
export FORCE_CUDA=1
source /usr/local/bin/fastpt -C
python setup.py bdist_wheel
pip install dist/*.whl
#!/bin/bash
if command -v pytest &> /dev/null; then
echo "pytest 已安装,版本: $(pytest --version)"
# 跳过安装
else
echo "pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip install pytest
fi
pytest -vs ./test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment