Skip to content

ci(action): remove total count for errors #814

ci(action): remove total count for errors

ci(action): remove total count for errors #814

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-container:
name: End to End
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: A11yWatch website scan
id: a11ywatch-results-generator
uses: ./
with:
WEBSITE_URL: ${{ secrets.WEBSITE_URL }}
FAIL_ERRORS_COUNT: 20
EXTERNAL: true
SITE_WIDE: true
LIST: true
UPLOAD: true
A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }}
env:
DEFAULT_RUNNERS: htmlcs
# no effect when EXTERNAL: true. The configuration needs to be applied on the dashboard for the website.
PAGEMIND_IGNORE_WARNINGS: true
- name: Get Results
run: |
echo "website accessibility score ${{ fromJson(steps['a11ywatch-results-generator'].outputs.results).data[0].issuesInfo.accessScore }}"
echo ${{ toJSON(steps['a11ywatch-results-generator'].outputs.results) }} | jq ". | tojson"