debian-mirror-gitlab/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
837 B
YAML
Raw Normal View History

2021-09-30 23:02:18 +05:30
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml
2020-04-08 14:13:33 +05:30
# 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
2022-07-16 23:28:13 +05:30
image: registry.gitlab.com/gitlab-org/ci-cd/accessibility:6.2.3
2022-05-07 20:08:51 +05:30
script:
- /gitlab-accessibility.sh "$a11y_urls"
2020-04-08 14:13:33 +05:30
allow_failure: true
artifacts:
when: always
expose_as: 'Accessibility Reports'
paths: ['reports/']
2020-05-24 23:13:21 +05:30
reports:
accessibility: reports/gl-accessibility.json
2020-04-08 14:13:33 +05:30
rules:
- if: $a11y_urls