Skip to content

Commit ab9b20a

Browse files
committed
workflow: test continue_on_error
1 parent 4b01558 commit ab9b20a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/test.yml

+10
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ jobs:
9898
working_directory: test/
9999
compiler: arara
100100
args: "--verbose"
101+
- name: Compile LaTeX document with continue_on_error
102+
uses: ./
103+
with:
104+
root_file: |
105+
error.tex
106+
not_error.tex
107+
working_directory: test/
108+
continue_on_error: true
109+
continue-on-error: true
101110
# https://github.com/xu-cheng/latex-action/issues/16
102111
- name: Test Action with Github Default Template
103112
uses: ./
@@ -145,6 +154,7 @@ jobs:
145154
file test/extra_fonts.pdf | grep -q ' PDF '
146155
file test/graphviz.pdf | grep -q ' PDF '
147156
file test/abc.pdf | grep -q ' PDF '
157+
file test/not_error.pdf | grep -q ' PDF '
148158
- name: Upload
149159
uses: actions/upload-artifact@v3
150160
with:

test/error.tex

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
\invalidcommand

test/not_error.tex

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.tex

0 commit comments

Comments
 (0)