kopia lustrzana https://github.com/wagtail/wagtail
Test project template against Django's branches
rodzic
57f7abda43
commit
9e843af55a
.github/workflows
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue