debian-mirror-gitlab/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml
2020-05-24 23:13:21 +05:30

21 lines
535 B
YAML

# Read more about the feature here: https://docs.gitlab.com/ee/user/project/merge_requests/accessibility_testing.html
stages:
- build
- test
- deploy
- accessibility
a11y:
stage: accessibility
image: registry.gitlab.com/gitlab-org/ci-cd/accessibility:5.3.0-gitlab.3
script: /gitlab-accessibility.sh $a11y_urls
allow_failure: true
artifacts:
when: always
expose_as: 'Accessibility Reports'
paths: ['reports/']
reports:
accessibility: reports/gl-accessibility.json
rules:
- if: $a11y_urls