diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28a8eb76..11d94223 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: DATABASE_URL: postgres://postgres:secret@localhost:5432/postgres - name: lint generated project (and its template) - run: make lint + run: poetry install && make lint working-directory: testproject build-docker-image: diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index 13cc112a..e89239cd 100644 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -2,7 +2,6 @@ cp src/app/.env.ci src/app/.env -poetry config virtualenvs.in-project true poetry install poetry run python src/manage.py collectstatic