Skip to content

a11y - fix contribuer page #2284

a11y - fix contribuer page

a11y - fix contribuer page #2284

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
services:
db:
image: postgres:12
env:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
POSTGRES_DB: catalogage
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
APP_DATABASE_URL: "postgresql+asyncpg://username:password@localhost:5432/catalogage"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: client/package-lock.json
- uses: actions/cache@v2
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-node-${{ hashFiles('**/client/package-lock.json') }}
- name: "Setup .env"
run: cp .env.example .env
- name: "Install dependencies"
run: make install
- name: "Build"
run: make build
- name: "Run migrations"
run: make migrate
- name: "Initialize data"
run: make initdata
- name: "Run checks"
run: make check
- name: "Run tests"
run: make test-ci
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: playwright-results
path: client/test-results