mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-23 18:21:52 +08:00
We used custom logic to skip testing these, but using abstractclasses makes it possible at discovery time in pytest. Unfortunately this doesn't work in Django discovery, so this makes our testsuite pytest only.
19 lines
288 B
Bash
Executable file
19 lines
288 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Copyright © Michal Čihař <michal@weblate.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# Testsuite executor
|
|
|
|
set -x
|
|
|
|
./manage.py compilemessages
|
|
|
|
./manage.py collectstatic --noinput --verbosity 0
|
|
|
|
./manage.py migrate --noinput --traceback
|
|
|
|
./manage.py check
|
|
|
|
pytest
|