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
d280ff44
Commit
d280ff44
authored
Apr 25, 2024
by
quyuan
Browse files
add cli test
parent
413603ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
.github/workflows/cli.yml
.github/workflows/cli.yml
+3
-15
No files found.
.github/workflows/cli.yml
View file @
d280ff44
...
...
@@ -46,19 +46,7 @@ jobs:
export https_proxy=""
-
name
:
get-benchmark-result
run
:
|
echo
"start test"
echo
$CI_PROJECT_DIR
pytest -v tests/test_cli/test_cli.py -s
notify_to_feishu
:
if
:
${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }}
needs
:
[
pdf-test
]
runs-on
:
pdf
steps
:
-
name
:
notify
run
:
|
curl ${{ secrets.WEBHOOK_URL }} -H 'Content-Type: application/json' -d '{
"msgtype": "text",
"text": {
"content": "'${{ github.repository }}' GitHubAction Failed!\n 细节请查看:https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'"
}
}'
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