Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
eca6027f
Commit
eca6027f
authored
Jul 13, 2024
by
quyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
benchmark.yml
.github/workflows/benchmark.yml
+3
-7
test_cli.py
tests/test_cli/test_cli.py
+0
-1
magic-pdf.json
tools/magic-pdf.json
+0
-3
No files found.
.github/workflows/benchmark.yml
View file @
eca6027f
...
...
@@ -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 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:
common
.
check_shell
(
cmd
)
#common.count_folders_and_check_contents(pdf_res_path)
# def test_pdf_specify_jsonl(self):
# """
# 输入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