Test project template against Django's branches

pull/12589/head
Sage Abdullah 2024-11-12 13:06:17 +00:00 zatwierdzone przez Matt Westcott
rodzic 57f7abda43
commit 9e843af55a
1 zmienionych plików z 18 dodań i 0 usunięć
.github/workflows

Wyświetl plik

@ -153,6 +153,24 @@ jobs:
name: coverage-data-${{ github.job }}-${{ strategy.job-index }}
path: .coverage.*
include-hidden-files: true
- name: Test project template
if: ${{ matrix.experimental }}
env:
PYTHONWARNINGS: error
run: |
wagtail start testproject
cd testproject
# Remove when all experimental jobs use Django >= 6.0
tee -a testproject/settings/local.py << EOF
from warnings import filterwarnings
filterwarnings(
"ignore", "The FORMS_URLFIELD_ASSUME_HTTPS transitional setting is deprecated."
)
FORMS_URLFIELD_ASSUME_HTTPS = True
EOF
python manage.py makemigrations --check --dry-run
python manage.py migrate
python manage.py check --fail-level WARNING
test-mysql:
runs-on: ubuntu-latest