mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-24 23:10:23 +08:00
add ci
This commit is contained in:
@@ -30,14 +30,10 @@ jobs:
|
||||
fetch-depth: 2
|
||||
- name: check-requirements
|
||||
run: |
|
||||
changed_files=$(git diff --name-only -r HEAD~1 HEAD)
|
||||
echo $changed_files
|
||||
if [[ $changed_files =~ "requirements.txt" ]] || [[ $changed_files =~ "requirements-qa.txt" ]]; then
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-qa.txt
|
||||
fi
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-qa.txt
|
||||
- name: get-benchmark-result
|
||||
run: |
|
||||
echo "start test"
|
||||
cd tools && python benchmark.py
|
||||
cd tests && python benchmark.py
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ class TestCli:
|
||||
common.check_shell(cmd)
|
||||
#common.count_folders_and_check_contents(pdf_res_path)
|
||||
|
||||
|
||||
# def test_pdf_specify_jsonl(self):
|
||||
# """
|
||||
# 输入jsonl, 默认方式解析
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"temp-output-dir": "/tmp/"
|
||||
}
|
||||
Reference in New Issue
Block a user