weblate/ci/run-test
Michal Čihař cf04efc903 feat(tests): utilize abstract classes for base tests
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.
2025-01-15 16:14:50 +01:00

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