Просмотр исходного кода

ci (test): pdf file with figure

Rongxin 1 год назад
Родитель
Сommit
979150ca2d
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      .github/workflows/python-build.yml

+ 8 - 0
.github/workflows/python-build.yml

@@ -35,6 +35,14 @@ jobs:
       run: 
       run: 
         pdf2zh ./test/file/translate.cli.plain.text.pdf
         pdf2zh ./test/file/translate.cli.plain.text.pdf
 
 
+    - name: Test - Translate a PDF file figure
+      run: 
+        pdf2zh ./test/file/translate.cli.text.with.figure.pdf
+
+    # - name: Test - Translate a PDF file with unknown font
+    #   run: 
+    #     pdf2zh ./test/file/translate.cli.font.unknown.pdf
+
     - name: Test - Start GUI and exit
     - name: Test - Start GUI and exit
       run: 
       run: 
         timeout 10 pdf2zh -i  || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
         timeout 10 pdf2zh -i  || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi