Skip to content

Commit

Permalink
config poetry in project
Browse files Browse the repository at this point in the history
  • Loading branch information
hnthh committed Apr 15, 2024
1 parent 7c05cc6 commit 3bcef5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
DATABASE_URL: postgres://postgres:secret@localhost:5432/postgres

- name: lint generated project (and its template)
run: cd testproject && poetry install && make lint
run: make lint
working-directory: testproject

build-docker-image:
needs: bootstrap
Expand Down
1 change: 1 addition & 0 deletions hooks/post_gen_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

cp src/app/.env.ci src/app/.env

poetry config virtualenvs.in-project true
poetry install

poetry run python src/manage.py collectstatic
Expand Down

0 comments on commit 3bcef5f

Please sign in to comment.