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
899c7918
Unverified
Commit
899c7918
authored
Jul 12, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Jul 12, 2024
Browse files
Merge pull request #133 from dt-yy/master
add cp magic-pdf.json
parents
9515c2aa
26fe8aab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.github/workflows/cli.yml
.github/workflows/cli.yml
+1
-0
tests/test_cli/conf/conf.py
tests/test_cli/conf/conf.py
+1
-2
No files found.
.github/workflows/cli.yml
View file @
899c7918
...
@@ -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 @
899c7918
...
@@ -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