mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 11:38:39 +02:00
Place pa11y outside docker for gh action
Try running pa11y as a seperate step Add install for pa11y in gh action Add path for package.json Change app to localhost in pa11yci Change path for disabling middlewar in gh step Update path again for perl line Add rule to ignore whoami link in pa11yci Revert "Update path again for perl line" This reverts commit f08324a9463a666ef665e42af1983d84154e708b.
This commit is contained in:
parent
2df5ecb193
commit
84a78635d0
2 changed files with 33 additions and 21 deletions
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
|
@ -43,9 +43,15 @@ jobs:
|
|||
run: |
|
||||
perl -pi \
|
||||
-e 's/"csp.middleware.CSPMiddleware",/$&"registrar.tests.common.MockUserLogin",/' \
|
||||
src/registrar/config/settings.py
|
||||
/registrar/config/settings.py
|
||||
|
||||
- name: Accessibility Scan
|
||||
- name: Start container
|
||||
working-directory: ./src
|
||||
# leverage the docker compose setup that we already have for local development
|
||||
run: docker compose run pa11y npm run pa11y-ci
|
||||
run: docker compose up -d
|
||||
|
||||
- name: run pa11y
|
||||
working-directory: ./src
|
||||
run: |
|
||||
npm i -g pa11y-ci
|
||||
pa11y-ci
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue