Skip to content

test(ci): add a11ywatch token & external #812

test(ci): add a11ywatch token & external

test(ci): add a11ywatch token & external #812

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_TOTAL_COUNT: 100
EXTERNAL: true
SITE_WIDE: true
LIST: true
UPLOAD: true
A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }}
env:
DEFAULT_RUNNERS: htmlcs
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"