add cp magic-pdf.json

This commit is contained in:
quyuan
2024-07-12 18:17:21 +08:00
parent 36aee5d60c
commit 26fe8aab75
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -35,6 +35,7 @@ jobs:
pip install -r requirements-qa.txt
- name: test_cli
run: |
cp magic-pdf.template.json ~/magic-pdf.json
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE && export PYTHONPATH=. && pytest -s -v tests/test_unit.py
cd $GITHUB_WORKSPACE && pytest -s -v tests/test_cli/test_cli.py
+1 -2
View File
@@ -2,7 +2,6 @@ import os
conf = {
"code_path": os.environ.get('GITHUB_WORKSPACE'),
"pdf_dev_path" : os.environ.get('GITHUB_WORKSPACE') + "/tests/test_cli/pdf_dev",
"pdf_res_path": "/share/quyuan/mineru/data/mineru"
"pdf_res_path": "/tmp"
}