Skip to content

Commit

Permalink
add test for work_in_root_file_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Feb 7, 2022
1 parent 6b607cc commit 79c8170
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
root_file: "glob_test*.tex"
glob_root_file: true
working_directory: test/
- name: Compile multiple LaTeX documents in different directories
uses: ./
with:
root_file: "subdir*/main.tex"
glob_root_file: true
working_directory: test/
work_in_root_file_dir: true
- name: Compile LaTeX document with math symbols
uses: ./
with:
Expand Down Expand Up @@ -111,6 +118,8 @@ jobs:
file test/file2.pdf | grep -q ' PDF '
file test/glob_test1.pdf | grep -q ' PDF '
file test/glob_test2.pdf | grep -q ' PDF '
file test/subdir1/main.pdf | grep -q ' PDF '
file test/subdir2/main.pdf | grep -q ' PDF '
file test/math.pdf | grep -q ' PDF '
file test/biblatex.pdf | grep -q ' PDF '
file test/eps.pdf | grep -q ' PDF '
Expand Down
1 change: 1 addition & 0 deletions test/subdir1/fig.eps
1 change: 1 addition & 0 deletions test/subdir1/main.tex
1 change: 1 addition & 0 deletions test/subdir2/fig.eps
1 change: 1 addition & 0 deletions test/subdir2/main.tex

0 comments on commit 79c8170

Please sign in to comment.