Skip to content

Commit

Permalink
workflow: test continue_on_error
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Nov 22, 2022
1 parent 4b01558 commit ab9b20a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ jobs:
working_directory: test/
compiler: arara
args: "--verbose"
- name: Compile LaTeX document with continue_on_error
uses: ./
with:
root_file: |
error.tex
not_error.tex
working_directory: test/
continue_on_error: true
continue-on-error: true
# https://github.com/xu-cheng/latex-action/issues/16
- name: Test Action with Github Default Template
uses: ./
Expand Down Expand Up @@ -145,6 +154,7 @@ jobs:
file test/extra_fonts.pdf | grep -q ' PDF '
file test/graphviz.pdf | grep -q ' PDF '
file test/abc.pdf | grep -q ' PDF '
file test/not_error.pdf | grep -q ' PDF '
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions test/error.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\invalidcommand
1 change: 1 addition & 0 deletions test/not_error.tex

0 comments on commit ab9b20a

Please sign in to comment.