pa11y-ci icon indicating copy to clipboard operation
pa11y-ci copied to clipboard

Save to file even if the job fails

Open fam4r opened this issue 4 years ago • 1 comments

Use case: in a CI Job it would be nice to have an artifact with reported errors/warnings/etc. and also let the job fail.

At the moment, using the redirection (eg. > accessibility-report.html), pa11y-ci fails and it doesn't write anything to file.

Using pa11y-ci v2.3.0 and pa11y-reporter-html v1.0.0 in a GitLab pipeline.

fam4r avatar Jan 21 '20 10:01 fam4r

@fam4r If it help, this is a project I maintain for running pa11y-ci in GitLab and the README has a handful of example GitLab CI jobs.

aarongoldenthal avatar Jan 30 '20 20:01 aarongoldenthal