소스 검색

Update benchmark.yml

quyuan01 1 년 전
부모
커밋
992b8922fc
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      .github/workflows/benchmark.yml

+ 3 - 1
.github/workflows/benchmark.yml

@@ -24,6 +24,8 @@ jobs:
         fetch-depth: 2
     - name: check-requirements
       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)
         echo $changed_files
         if [[ $changed_files =~ "requirements.txt" ]]; then
@@ -34,4 +36,4 @@ jobs:
     - name: benchmark
       run: |
         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