-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #627 from DH-IT-Portal-Development/acceptation
Merge acc into master for deployment
- Loading branch information
Showing
401 changed files
with
14,110 additions
and
12,989 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Black reformat | ||
135eb9119066aedf946aaf3d22cbb839d59fc038 | ||
|
||
# DJLint reformat | ||
664077453c8fe393cdd8db692a33d515e5db6f69 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: PR checks | ||
|
||
on: | ||
pull_request: | ||
jobs: | ||
check-migrations: | ||
name: Check if there are any missing migrations | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install OS dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libldap2-dev libsasl2-dev libssl-dev gettext poppler-utils poppler-data libpoppler-cpp-dev | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Check for missing migrations | ||
run: | | ||
python manage.py makemigrations --check --dry-run | ||
check-djlint: | ||
name: Check if DJLint thinks everything is correctly formatted | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install OS dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libldap2-dev libsasl2-dev libssl-dev gettext poppler-utils poppler-data libpoppler-cpp-dev | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Run DJLint | ||
# This exclude flag is needed because Github downloads dependencies there, which causes djlint to judge those | ||
run: | | ||
djlint . --check --exclude src | ||
black-check: # Rhymes with blackjack :D | ||
name: Check if Black thinks everything is correctly formatted | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: psf/black@stable | ||
with: | ||
src: . | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
*.pyc | ||
__pycache__/ | ||
.env* | ||
|
||
*.mo | ||
|
||
### Project-specific ### | ||
media/ | ||
|
Oops, something went wrong.