Skip to content

Commit

Permalink
fixup! chore(ci): set up Lighthouse auditing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Restioson committed Oct 22, 2024
1 parent 1d64262 commit f5131e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
env:
POSTGRES_USER: sadilar
POSTGRES_PASSWORD: sadilar
POSTGRES_DB: test_db_1
POSTGRES_DB: term_db
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -88,6 +88,9 @@ jobs:
sudo apt-get install -y gettext
npm install -g @lhci/[email protected]
- name: Migrate database
run: cd app && DB_NAME=test_db_1 DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate
run: cd app && DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate
env:
DJANGO_SETTINGS_MODULE: app.settings
DATABASE_URL: postgres://sadilar:sadilar@localhost:5432/test_db
- name: Run Lighthouse
run: cd app && lhci autorun

0 comments on commit f5131e6

Please sign in to comment.