Feat: use PostgreSQL for the database backend #149
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UI & a11y tests | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
tests-ui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start web app | |
run: | | |
cp .env.sample .env | |
docker compose up --detach web | |
- name: Run Lighthouse tests for a11y | |
uses: treosh/lighthouse-ci-action@12.1.0 | |
with: | |
urls: http://localhost:8000/admin | |
configPath: ".github/lighthouserc.json" | |
temporaryPublicStorage: true | |
uploadArtifacts: true |