Skip to content

Commit f8d3ab8

Browse files
Merge pull request #41 from creative-commoners/pulls/1.1/continue-on-error
ENH Continue on error for test and lint steps
2 parents 30d28bf + 4bc86ff commit f8d3ab8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,20 @@ runs:
353353
354354
# The following 3 steps make up `yarn build`
355355
# Splitting apart to make it easier to see where any failures originate from
356+
# continue-on-error is used for Yarn lint and Yarn test so that subsequent steps still run even if they fail
357+
# so that a pull-request, which will later fail CI, can still be created. This gives higher visibility
358+
# to any failures
356359
- name: Yarn lint
357360
if: steps.package-json.outputs.lint == 'true' && inputs.branch_type != 'schedule' && steps.derive-module-branch.outputs.proceed == '1'
358361
shell: bash
362+
continue-on-error: true
359363
run: |
360364
yarn lint
361365
362366
- name: Yarn test
363367
if: steps.package-json.outputs.test == 'true' && inputs.branch_type != 'schedule' && steps.derive-module-branch.outputs.proceed == '1'
364368
shell: bash
369+
continue-on-error: true
365370
run: |
366371
yarn test
367372

0 commit comments

Comments
 (0)