Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
eca6027f
Commit
eca6027f
authored
Jul 13, 2024
by
quyuan
Browse files
add ci
parent
26fe8aab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
+3
-11
.github/workflows/benchmark.yml
.github/workflows/benchmark.yml
+3
-7
tests/test_cli/test_cli.py
tests/test_cli/test_cli.py
+0
-1
tools/magic-pdf.json
tools/magic-pdf.json
+0
-3
No files found.
.github/workflows/benchmark.yml
View file @
eca6027f
...
@@ -30,14 +30,10 @@ jobs:
...
@@ -30,14 +30,10 @@ jobs:
fetch-depth
:
2
fetch-depth
:
2
-
name
:
check-requirements
-
name
:
check-requirements
run
:
|
run
:
|
changed_files=$(git diff --name-only -r HEAD~1 HEAD)
pip install -r requirements.txt
echo $changed_files
pip install -r requirements-qa.txt
if [[ $changed_files =~ "requirements.txt" ]] || [[ $changed_files =~ "requirements-qa.txt" ]]; then
pip install -r requirements.txt
pip install -r requirements-qa.txt
fi
-
name
:
get-benchmark-result
-
name
:
get-benchmark-result
run
:
|
run
:
|
echo "start test"
echo "start test"
cd t
ool
s && python benchmark.py
cd t
est
s && python benchmark.py
tests/test_cli/test_cli.py
View file @
eca6027f
...
@@ -18,7 +18,6 @@ class TestCli:
...
@@ -18,7 +18,6 @@ class TestCli:
common
.
check_shell
(
cmd
)
common
.
check_shell
(
cmd
)
#common.count_folders_and_check_contents(pdf_res_path)
#common.count_folders_and_check_contents(pdf_res_path)
# def test_pdf_specify_jsonl(self):
# def test_pdf_specify_jsonl(self):
# """
# """
# 输入jsonl, 默认方式解析
# 输入jsonl, 默认方式解析
...
...
tools/magic-pdf.json
deleted
100644 → 0
View file @
26fe8aab
{
"temp-output-dir"
:
"/tmp/"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment