Skip to content

Poc ci accessibility #16

Poc ci accessibility

Poc ci accessibility #16

Workflow file for this run

name: Accessibility
on:
pull_request:
branches:
- "poc-ci-accessibility"
- main
jobs:
accessibility:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_BD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build image
run: docker build -t local .
- name: Run tests
run: docker run -i -p 127.0.0.1:8000:8000 local
- name: Install pa11y-ci
run: npm install -g pa11y-ci
- name: Run Pa11y on the project
run: pa11y-ci http://127.0.0.1:8000/