diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index b0876c8..45a1ba6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -62,9 +62,6 @@ jobs: - name: Run Lighthouse run: | cd app/ - DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate + DB_NAME=test_db_1 DB_USER=sadilar DB_PASSWORD=sadilar python manage.py migrate echo done migrations lhci autorun - env: - DJANGO_SETTINGS_MODULE: app.settings - DATABASE_URL: postgres://sadilar:sadilar@localhost:5432/test_db diff --git a/app/lighthouserc.js b/app/lighthouserc.js index 9000a3c..9e5ce16 100644 --- a/app/lighthouserc.js +++ b/app/lighthouserc.js @@ -3,7 +3,7 @@ let env = process.env; module.exports = { ci: { collect: { - startServerCommand: `DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar` + startServerCommand: `DB_NAME=test_db_1 DB_USER=sadilar DB_PASSWORD=sadilar` + "python manage.py runserver localhost:3000", url: [ "http://localhost:3000",