summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml
blob: 5d9d3c74defed29aa742f7e6ec837fb23775172a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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.2
  script: /gitlab-accessibility.sh $a11y_urls
  allow_failure: true
  artifacts:
    when: always
    expose_as: 'Accessibility Reports'
    paths: ['reports/']
  rules:
    - if: $a11y_urls