This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix for upstream dependency's incompatibility with Django 4.1 (#31)
* Hotfix for upstream dependency's incompatibility with Django 4.1 * Add check for collecting static assets * Linting * Update setup python action * Swap install order * Deployment should fail if any step in post compile fails * Remove poetry cache attempt, reorder steps * Use just instead I love testing with github actions!
- Loading branch information
1 parent
7b1958e
commit 8c1733b
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.10.4 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10.4 | ||
- name: Run image | ||
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.2.1 | ||
|
@@ -33,14 +33,29 @@ jobs: | |
poetry run python manage.py migrate | ||
poetry run python manage.py netlify_build | ||
test_static_assets: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
- uses: extractions/setup-just@v1 | ||
- name: Build image | ||
run: just build | ||
- name: Test Collect Static Checks | ||
run: | | ||
just manage collectstatic --no-input | ||
just manage assets build | ||
lint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.10.4 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10.4 | ||
- uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters