mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-24 23:10:23 +08:00
add cp magic-pdf.json
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user