Skip to content

Commit 9c2937f

Browse files
committed
fixup! chore(ci): set up Lighthouse auditing in CI
1 parent 6385267 commit 9c2937f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
- name: Run Lighthouse
6363
run: |
6464
cd app/
65-
DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate
65+
DB_NAME=test_db_1 DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate
6666
echo done migrations
6767
lhci autorun
68-
env:
69-
DJANGO_SETTINGS_MODULE: app.settings
70-
DATABASE_URL: postgres://sadilar:sadilar@localhost:5432/test_db

app/lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let env = process.env;
33
module.exports = {
44
ci: {
55
collect: {
6-
startServerCommand: `DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar`
6+
startServerCommand: `DB_NAME=test_db_1 DB_USER=sadilar DB_PASSWORD=sadilar`
77
+ "python manage.py runserver localhost:3000",
88
url: [
99
"http://localhost:3000",

0 commit comments

Comments
 (0)