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
26fe8aab
Commit
26fe8aab
authored
Jul 12, 2024
by
quyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cp magic-pdf.json
parent
36aee5d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cli.yml
.github/workflows/cli.yml
+1
-0
conf.py
tests/test_cli/conf/conf.py
+1
-2
No files found.
.github/workflows/cli.yml
View file @
26fe8aab
...
@@ -35,6 +35,7 @@ jobs:
...
@@ -35,6 +35,7 @@ jobs:
pip install -r requirements-qa.txt
pip install -r requirements-qa.txt
-
name
:
test_cli
-
name
:
test_cli
run
:
|
run
:
|
cp magic-pdf.template.json ~/magic-pdf.json
echo $GITHUB_WORKSPACE
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE && export PYTHONPATH=. && pytest -s -v tests/test_unit.py
cd $GITHUB_WORKSPACE && export PYTHONPATH=. && pytest -s -v tests/test_unit.py
cd $GITHUB_WORKSPACE && pytest -s -v tests/test_cli/test_cli.py
cd $GITHUB_WORKSPACE && pytest -s -v tests/test_cli/test_cli.py
...
...
tests/test_cli/conf/conf.py
View file @
26fe8aab
...
@@ -2,7 +2,6 @@ import os
...
@@ -2,7 +2,6 @@ import os
conf
=
{
conf
=
{
"code_path"
:
os
.
environ
.
get
(
'GITHUB_WORKSPACE'
),
"code_path"
:
os
.
environ
.
get
(
'GITHUB_WORKSPACE'
),
"pdf_dev_path"
:
os
.
environ
.
get
(
'GITHUB_WORKSPACE'
)
+
"/tests/test_cli/pdf_dev"
,
"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"
}
}
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