Unverified Commit 992b8922 authored by quyuan01's avatar quyuan01 Committed by GitHub

Update benchmark.yml

parent 3e8edeb2
...@@ -24,6 +24,8 @@ jobs: ...@@ -24,6 +24,8 @@ jobs:
fetch-depth: 2 fetch-depth: 2
- name: check-requirements - name: check-requirements
run: | run: |
export http_proxy=http://quyuan:qywan77236=@10.1.8.50:33128/
export https_proxy=http://quyuan:qywan77236=@10.1.8.50:33128/
changed_files=$(git diff --name-only -r HEAD~1 HEAD) changed_files=$(git diff --name-only -r HEAD~1 HEAD)
echo $changed_files echo $changed_files
if [[ $changed_files =~ "requirements.txt" ]]; then if [[ $changed_files =~ "requirements.txt" ]]; then
...@@ -34,4 +36,4 @@ jobs: ...@@ -34,4 +36,4 @@ jobs:
- name: benchmark - name: benchmark
run: | run: |
echo "start test" echo "start test"
python ocr_badcase.py pdf_json_label_0306.json ocr_dataset.json json_files.zip output.json cd tools && python ocr_badcase.py pdf_json_label_0306.json ocr_dataset.json json_files.zip output.json
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment