Skip to content

Commit

Permalink
change to calling manage module instead of file (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas committed Apr 10, 2024
1 parent 98ed542 commit fb95c65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Added S3 and Okta credentials to `.env.prod`.

### Changed

- Now calling `manage.py` file in CI as a module instead of using the file name directly.

### Fixed

- Added upper bounds for `django-email-relay` dependency. Since it runs distributed, with a central relay service that is responsible for sending emails, the roll-out of a new version should be more controlled. With the upper bounds, the version won't accidentally get bumped in day-to-day work (hopefully!).
Expand Down
6 changes: 3 additions & 3 deletions src/django_twc_project/.github/workflows/test.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Run migrations
run: |
python manage.py migrate --skip-checks
python -m manage migrate --skip-checks
{%- if include_vite %}

- name: Build frontend
Expand All @@ -81,8 +81,8 @@ jobs:

- name: Build staticfiles
run: |
python manage.py tailwind --skip-checks build
python manage.py collectstatic --no-input --skip-checks --no-default-ignore
python -m manage tailwind --skip-checks build
python -m manage collectstatic --no-input --skip-checks --no-default-ignore

# https://hynek.me/articles/ditch-codecov-python/
- name: Run tests
Expand Down

0 comments on commit fb95c65

Please sign in to comment.