Skip to content

Commit

Permalink
ci (test): pdf file with figure
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn committed Dec 19, 2024
1 parent 502de5d commit 979150c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
run:
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
run:
timeout 10 pdf2zh -i || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
Expand Down

0 comments on commit 979150c

Please sign in to comment.